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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu May 8 13:24:39 CEST 2008


Revision: 31945
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31945&view=rev
Author:   lordhoto
Date:     2008-05-08 04:24:39 -0700 (Thu, 08 May 2008)

Log Message:
-----------
Fixed warning on 64bit systems introduced with r31940.

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

Modified: scummvm/trunk/engines/gob/inter_v4.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v4.cpp	2008-05-08 11:17:38 UTC (rev 31944)
+++ scummvm/trunk/engines/gob/inter_v4.cpp	2008-05-08 11:24:39 UTC (rev 31945)
@@ -642,7 +642,7 @@
 void Inter_v4::executeDrawOpcode(byte i) {
 	debugC(1, kDebugDrawOp, "opcodeDraw %d [0x%X] (%s) - %s, %d",
 		i, i, getOpcodeDrawDesc(i),
-		_vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
+		_vm->_game->_curTotFile, uint(_vm->_global->_inter_execPtr - _vm->_game->_totFileData));
 
 	OpcodeDrawProcV4 op = _opcodesDrawV4[i].proc;
 
@@ -655,7 +655,7 @@
 bool Inter_v4::executeFuncOpcode(byte i, byte j, OpFuncParams &params) {
 	debugC(1, kDebugFuncOp, "opcodeFunc %d.%d [0x%X.0x%X] (%s) - %s, %d",
 		i, j, i, j, getOpcodeFuncDesc(i, j),
-		_vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
+		_vm->_game->_curTotFile, uint(_vm->_global->_inter_execPtr - _vm->_game->_totFileData));
 
 	if ((i > 4) || (j > 15)) {
 		warning("unimplemented opcodeFunc: %d.%d", i, j);
@@ -675,7 +675,7 @@
 void Inter_v4::executeGoblinOpcode(int i, OpGobParams &params) {
 	debugC(1, kDebugGobOp, "opcodeGoblin %d [0x%X] (%s) - %s, %d",
 		i, i, getOpcodeGoblinDesc(i),
-		_vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
+		_vm->_game->_curTotFile, uint(_vm->_global->_inter_execPtr - _vm->_game->_totFileData));
 
 	OpcodeGoblinProcV4 op = NULL;
 


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