aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-08 11:24:39 +0000
committerJohannes Schickel2008-05-08 11:24:39 +0000
commit29c79704fa9a6512ae663daa79e83b466e66bce5 (patch)
tree7457ded50689df7b152a59a88aaaa6bd558914fa /engines
parentb63ae7dee4ae461f204f23641360a6aef1c2c304 (diff)
downloadscummvm-rg350-29c79704fa9a6512ae663daa79e83b466e66bce5.tar.gz
scummvm-rg350-29c79704fa9a6512ae663daa79e83b466e66bce5.tar.bz2
scummvm-rg350-29c79704fa9a6512ae663daa79e83b466e66bce5.zip
Fixed warning on 64bit systems introduced with r31940.
svn-id: r31945
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/inter_v4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/inter_v4.cpp b/engines/gob/inter_v4.cpp
index e2b57797e0..cbda4d6726 100644
--- a/engines/gob/inter_v4.cpp
+++ b/engines/gob/inter_v4.cpp
@@ -642,7 +642,7 @@ void Inter_v4::setupOpcodes() {
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 @@ void Inter_v4::executeDrawOpcode(byte i) {
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 @@ bool Inter_v4::executeFuncOpcode(byte i, byte j, OpFuncParams &params) {
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;