aboutsummaryrefslogtreecommitdiff
path: root/engines/made/script.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-05-06 15:08:48 +0000
committerSven Hesse2008-05-06 15:08:48 +0000
commit7595f20e33ee709b486de887cacd5e4bdba7a67a (patch)
tree6440f04b8ba7549afde0ddbbdd2107f5e2adbc0e /engines/made/script.cpp
parent9df82055f0dff7c242f889c5d776ad0cca2d5bc8 (diff)
downloadscummvm-rg350-7595f20e33ee709b486de887cacd5e4bdba7a67a.tar.gz
scummvm-rg350-7595f20e33ee709b486de887cacd5e4bdba7a67a.tar.bz2
scummvm-rg350-7595f20e33ee709b486de887cacd5e4bdba7a67a.zip
Silencing two signess compiler warnings
svn-id: r31897
Diffstat (limited to 'engines/made/script.cpp')
-rw-r--r--engines/made/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/script.cpp b/engines/made/script.cpp
index 86bd9f42e4..ba0b61d29b 100644
--- a/engines/made/script.cpp
+++ b/engines/made/script.cpp
@@ -203,7 +203,7 @@ void ScriptInterpreter::runScript(int16 scriptObjectIndex) {
while (!_terminated) {
byte opcode = readByte();
if (opcode >= 1 && opcode <= _commandsMax) {
- debug(4, "[%04X:%04X] opcode = %s", _runningScriptObjectIndex, _codeIp - _codeBase, _commands[opcode - 1].desc);
+ debug(4, "[%04X:%04X] opcode = %s", _runningScriptObjectIndex, (uint) (_codeIp - _codeBase), _commands[opcode - 1].desc);
(this->*_commands[opcode - 1].proc)();
} else {
warning("ScriptInterpreter::runScript(%d) Unknown opcode %02X", _runningScriptObjectIndex, opcode);