From 7595f20e33ee709b486de887cacd5e4bdba7a67a Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 6 May 2008 15:08:48 +0000 Subject: Silencing two signess compiler warnings svn-id: r31897 --- engines/made/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/made/script.cpp') 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); -- cgit v1.2.3