[Scummvm-git-logs] scummvm master -> 7da2765d447656a18fa1eae523b7a26cad286766
digitall
noreply at scummvm.org
Fri Sep 29 21:45:53 UTC 2023
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:
7da2765d44 SCI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: 7da2765d447656a18fa1eae523b7a26cad286766
https://github.com/scummvm/scummvm/commit/7da2765d447656a18fa1eae523b7a26cad286766
Author: D G Turner (digitall at scummvm.org)
Date: 2023-09-29T22:45:31+01:00
Commit Message:
SCI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/sci/console.cpp
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index c5bfee6b410..a68508a14f3 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -652,8 +652,8 @@ bool Console::cmdKernelFunctions(int argc, const char **argv) {
}
bool Console::cmdKernelCall(int argc, const char **argv) {
- const size_t MAX_ARGS_ALLOWED = 20;
-
+ const int MAX_ARGS_ALLOWED = 20;
+
if (argc <= 1) {
debugPrintf("Calls a kernel function by name.\n");
debugPrintf("(You must ensure you invoke the kernel function with the correct signature.)\n");
More information about the Scummvm-git-logs
mailing list