[Scummvm-git-logs] scummvm master -> bd1595a074022886565ccba6b11d39d79d567f25
digitall
noreply at scummvm.org
Sun Apr 17 16:01:11 UTC 2022
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:
bd1595a074 GUI: Fix Signed vs. Unsigned Compiler Warning in Debugger
Commit: bd1595a074022886565ccba6b11d39d79d567f25
https://github.com/scummvm/scummvm/commit/bd1595a074022886565ccba6b11d39d79d567f25
Author: D G Turner (digitall at scummvm.org)
Date: 2022-04-17T17:00:37+01:00
Commit Message:
GUI: Fix Signed vs. Unsigned Compiler Warning in Debugger
Changed paths:
gui/debugger.cpp
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 2c0f612ccfb..b395a6edd52 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -722,7 +722,7 @@ bool Debugger::cmdMd5Mac(int argc, const char **argv) {
// The resource fork is probably the most relevant one.
if (macResMan.hasResFork()) {
Common::String md5 = macResMan.computeResForkMD5AsString(length, tail);
- if (length != 0 && length < macResMan.getResForkDataSize())
+ if (length != 0 && length < (int32)macResMan.getResForkDataSize())
md5 += Common::String::format(" (%s %d bytes)", tail ? "last" : "first", length);
debugPrintf("%s (resource): %s, %llu bytes\n", macResMan.getBaseFileName().toString().c_str(), md5.c_str(), (unsigned long long)macResMan.getResForkDataSize());
}
More information about the Scummvm-git-logs
mailing list