[Scummvm-cvs-logs] SF.net SVN: scummvm:[53988] scummvm/trunk/engines/gob/inter_v1.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun Oct 31 22:47:20 CET 2010


Revision: 53988
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53988&view=rev
Author:   drmccoy
Date:     2010-10-31 21:47:20 +0000 (Sun, 31 Oct 2010)

Log Message:
-----------
GOB: Silence a compiler warning

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v1.cpp

Modified: scummvm/trunk/engines/gob/inter_v1.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v1.cpp	2010-10-31 21:20:22 UTC (rev 53987)
+++ scummvm/trunk/engines/gob/inter_v1.cpp	2010-10-31 21:47:20 UTC (rev 53988)
@@ -1637,7 +1637,7 @@
 
 	if (!_vm->_dataIO->hasFile(_vm->_game->_script->getResultStr())) {
 		warning("File \"%s\" not found", _vm->_game->_script->getResultStr());
-		WRITE_VAR_OFFSET(varOff, -1);
+		WRITE_VAR_OFFSET(varOff, (uint32) -1);
 	} else
 		WRITE_VAR_OFFSET(varOff, 50); // "handle" between 50 and 128 = in archive
 


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