[Scummvm-cvs-logs] SF.net SVN: scummvm:[33383] scummvm/trunk/engines/cine/various.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Jul 29 00:21:12 CEST 2008


Revision: 33383
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33383&view=rev
Author:   fingolfin
Date:     2008-07-28 22:21:11 +0000 (Mon, 28 Jul 2008)

Log Message:
-----------
Fixing 'warning: comparison of unsigned expression < 0 is always false'

Modified Paths:
--------------
    scummvm/trunk/engines/cine/various.cpp

Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp	2008-07-28 19:23:08 UTC (rev 33382)
+++ scummvm/trunk/engines/cine/various.cpp	2008-07-28 22:21:11 UTC (rev 33383)
@@ -724,7 +724,7 @@
 	} else if (hdr.version > CURRENT_OS_SAVE_VER) {
 		warning("loadTempSaveOS: Detected newer format version. Not loading savegame");
 		return false;		
-	} else if (hdr.version < CURRENT_OS_SAVE_VER) {
+	} else if ((int)hdr.version < (int)CURRENT_OS_SAVE_VER) {
 		warning("loadTempSaveOS: Detected older format version. Trying to load nonetheless. Things may break");
 	} else { // hdr.id == TEMP_OS_FORMAT_ID && hdr.version == CURRENT_OS_SAVE_VER
 		debug(3, "loadTempSaveOS: Found correct header (Both the identifier and version number match).");


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