GCC says these are ints, not long ints. Adjust the format strings accordingly.

svn-id: r31940
This commit is contained in:
Torbjörn Andersson 2008-05-08 04:48:55 +00:00
parent e2e2af4ff5
commit 500237d8ed

View File

@ -640,7 +640,7 @@ void Inter_v4::setupOpcodes() {
}
void Inter_v4::executeDrawOpcode(byte i) {
debugC(1, kDebugDrawOp, "opcodeDraw %d [0x%X] (%s) - %s, %ld",
debugC(1, kDebugDrawOp, "opcodeDraw %d [0x%X] (%s) - %s, %d",
i, i, getOpcodeDrawDesc(i),
_vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);
@ -653,7 +653,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, %ld",
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);
@ -673,7 +673,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, %ld",
debugC(1, kDebugGobOp, "opcodeGoblin %d [0x%X] (%s) - %s, %d",
i, i, getOpcodeGoblinDesc(i),
_vm->_game->_curTotFile, _vm->_global->_inter_execPtr - _vm->_game->_totFileData);