aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-10-20 20:39:08 +0000
committerTorbjörn Andersson2010-10-20 20:39:08 +0000
commit2a19d755de0caa76032a680cebb511820e559ce0 (patch)
tree0692e6dc34b8ddec03a3f3c7aabfa7ccd57cea24 /engines
parent2d1205f7a022a82e3513137b57cfb63b75b5964e (diff)
downloadscummvm-rg350-2a19d755de0caa76032a680cebb511820e559ce0.tar.gz
scummvm-rg350-2a19d755de0caa76032a680cebb511820e559ce0.tar.bz2
scummvm-rg350-2a19d755de0caa76032a680cebb511820e559ce0.zip
SCI: Silence GCC warning
svn-id: r53649
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 668b27c870..4bbbb88b56 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -2690,12 +2690,12 @@ bool Console::cmdFindKernelFunctionCall(int argc, const char **argv) {
if (opcode == op_callk) {
uint16 kFuncNum = opparams[0];
- uint16 argc = opparams[1];
+ uint16 argc2 = opparams[1];
if (kFuncNum == kernelFuncNum) {
DebugPrintf("Called from script %d, object %s, method %s(%d) with %d parameters\n",
itr->getNumber(), objName,
- _engine->getKernel()->getSelectorName(obj->getFuncSelector(i)).c_str(), i, argc);
+ _engine->getKernel()->getSelectorName(obj->getFuncSelector(i)).c_str(), i, argc2);
}
}