[Scummvm-cvs-logs] SF.net SVN: scummvm: [32072] scummvm/trunk/engines/made/screen.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Mon May 12 22:17:54 CEST 2008


Revision: 32072
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32072&view=rev
Author:   drmccoy
Date:     2008-05-12 13:17:54 -0700 (Mon, 12 May 2008)

Log Message:
-----------
Muting "comparing signed and unsigned values" compiler warning

Modified Paths:
--------------
    scummvm/trunk/engines/made/screen.cpp

Modified: scummvm/trunk/engines/made/screen.cpp
===================================================================
--- scummvm/trunk/engines/made/screen.cpp	2008-05-12 20:14:07 UTC (rev 32071)
+++ scummvm/trunk/engines/made/screen.cpp	2008-05-12 20:17:54 UTC (rev 32072)
@@ -659,9 +659,9 @@
 	byte p;
 	byte *dest = (byte*)_fontDrawCtx.destSurface->getBasePtr(x, y);
 
-	for (int16 yc = 0; yc < height; yc++) {
+	for (uint16 yc = 0; yc < height; yc++) {
 		p = charData[yc];
-		for (int16 xc = 0; xc < width; xc++) {
+		for (uint16 xc = 0; xc < width; xc++) {
 			if (p & 0x80)
 				dest[xc] = color;
 			p <<= 1;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list