[Scummvm-git-logs] scummvm master -> d16e7df603758b8f672be2a9b75c20e25d4fcb65
sev-
sev at scummvm.org
Mon Apr 27 20:32:08 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d16e7df603 WINTERMUTE: Fix printf format specifier
Commit: d16e7df603758b8f672be2a9b75c20e25d4fcb65
https://github.com/scummvm/scummvm/commit/d16e7df603758b8f672be2a9b75c20e25d4fcb65
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-04-27T22:31:49+02:00
Commit Message:
WINTERMUTE: Fix printf format specifier
Changed paths:
engines/wintermute/base/scriptables/script.cpp
diff --git a/engines/wintermute/base/scriptables/script.cpp b/engines/wintermute/base/scriptables/script.cpp
index b45d77b0a5..dc8a76b91c 100644
--- a/engines/wintermute/base/scriptables/script.cpp
+++ b/engines/wintermute/base/scriptables/script.cpp
@@ -1100,7 +1100,7 @@ bool ScScript::executeInstruction() {
}
default:
- _gameRef->LOG(0, "Fatal: Invalid instruction %d ('%s', line %d, IP:0x%x)\n", inst, _filename, _currentLine, _iP - sizeof(uint32));
+ _gameRef->LOG(0, "Fatal: Invalid instruction %d ('%s', line %d, IP:0x%lx)\n", inst, _filename, _currentLine, _iP - sizeof(uint32));
_state = SCRIPT_FINISHED;
ret = STATUS_FAILED;
} // switch(instruction)
@@ -1450,7 +1450,7 @@ bool ScScript::externalCall(ScStack *stack, ScStack *thisStack, ScScript::TExter
stack->pushNULL();
return STATUS_OK;
}
-
+
//////////////////////////////////////////////////////////////////////////
// SetValueToReg
// Used to switch game's windowed/fullscreen mode at games by HeroCraft
@@ -1620,7 +1620,7 @@ bool ScScript::externalCall(ScStack *stack, ScStack *thisStack, ScScript::TExter
stack->pushNULL();
return STATUS_OK;
}
-
+
//////////////////////////////////////////////////////////////////////////
// IRC_quit
// Used to disconnect from debug IRC server at games by Corbomite Games
More information about the Scummvm-git-logs
mailing list