[Scummvm-git-logs] scummvm master -> f9fc1e57b0884c5f9e58dd18b25cc9a02ee1ad86
Strangerke
noreply at scummvm.org
Wed Nov 6 21:04:07 UTC 2024
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:
f9fc1e57b0 M4: Fix two issues pointed by digitall
Commit: f9fc1e57b0884c5f9e58dd18b25cc9a02ee1ad86
https://github.com/scummvm/scummvm/commit/f9fc1e57b0884c5f9e58dd18b25cc9a02ee1ad86
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-11-06T21:55:37+01:00
Commit Message:
M4: Fix two issues pointed by digitall
Changed paths:
engines/m4/wscript/ws_cruncher.cpp
engines/m4/wscript/ws_machine.cpp
diff --git a/engines/m4/wscript/ws_cruncher.cpp b/engines/m4/wscript/ws_cruncher.cpp
index 1b33f762289..a4f08855067 100644
--- a/engines/m4/wscript/ws_cruncher.cpp
+++ b/engines/m4/wscript/ws_cruncher.cpp
@@ -485,7 +485,7 @@ static bool ExtractArg(Anim8 *myAnim8, int32 myFormat, int32 myData, frac16 **ar
// myArg1 will point to this location
*argPtr = argValue;
- prefix += Common::String::format("%d", *argValue);
+ prefix += Common::String::format("%ld", *argValue);
dbg_AddParamToCurrMachInstr(prefix.c_str());
}
diff --git a/engines/m4/wscript/ws_machine.cpp b/engines/m4/wscript/ws_machine.cpp
index 593db40f49e..a1760c3abb4 100644
--- a/engines/m4/wscript/ws_machine.cpp
+++ b/engines/m4/wscript/ws_machine.cpp
@@ -1184,7 +1184,7 @@ void sendWSMessage(uint32 msgHash, frac16 msgValue, machine *recvM,
bool sendToAll;
globalMsgReq *myGlobalMsgs, *tempGlobalMsg;
- debugC(1, kDebugMessages, "Message %xh, %xh, %s, %xh, %s, %d",
+ debugC(1, kDebugMessages, "Message %xh, %lxh, %s, %xh, %s, %d",
msgHash, msgValue, recvM ? recvM->machName : "NONE",
machHash, sendM ? sendM->machName : "NONE", msgCount);
More information about the Scummvm-git-logs
mailing list