[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.30,1.31

Max Horn fingolfin at users.sourceforge.net
Mon Jun 9 16:22:12 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv10466

Modified Files:
	screen.cpp 
Log Message:
fixed warning

Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- screen.cpp	9 Jun 2003 23:02:56 -0000	1.30
+++ screen.cpp	9 Jun 2003 23:21:31 -0000	1.31
@@ -602,7 +602,7 @@
 		int32 botClip = GAME_SCREEN_HEIGHT - FROM_LE_16(sprDataFile->s_height) - spriteY;
 		if (botClip < 0) {
 			botClip = -botClip;
-			if (_sprHeight <= botClip) {
+			if (_sprHeight <= (uint32)botClip) {
 				_sprWidth = 0;
 				return ;
 			}





More information about the Scummvm-git-logs mailing list