[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.8,1.9

Joost Peters joostp at users.sourceforge.net
Tue Jul 1 15:52:13 CEST 2003


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

Modified Files:
	control.cpp 
Log Message:
fixed warnings

Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- control.cpp	1 Jul 2003 22:21:20 -0000	1.8
+++ control.cpp	1 Jul 2003 22:51:49 -0000	1.9
@@ -1154,7 +1154,7 @@
 	for (cnt = 0; cnt < 13; cnt++)
 		LODSW(srcPos, SkyCompact::high_floor_table[cnt]);
 
-	if (srcPos - srcBuf != size)
+	if (srcPos - srcBuf != (int32)size)
 		error("Restore failed! Savegame data = %d bytes. Expected size: %d.\n", srcPos-srcBuf, size);
 
 	_skyLogic->fnLeaveSection(oldSection, 0, 0);





More information about the Scummvm-git-logs mailing list