[Scummvm-git-logs] scummvm master -> 4f505496ac32744e07342d1cebe0bffbfab5aa2c

digitall noreply at scummvm.org
Sun Mar 20 13:04:44 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:
4f505496ac CHEWY: Fix Signed vs. Unsigned Comparison GCC Warning


Commit: 4f505496ac32744e07342d1cebe0bffbfab5aa2c
    https://github.com/scummvm/scummvm/commit/4f505496ac32744e07342d1cebe0bffbfab5aa2c
Author: D G Turner (digitall at scummvm.org)
Date: 2022-03-20T13:04:18Z

Commit Message:
CHEWY: Fix Signed vs. Unsigned Comparison GCC Warning

Changed paths:
    engines/chewy/debugger.cpp


diff --git a/engines/chewy/debugger.cpp b/engines/chewy/debugger.cpp
index 144bc11438e..a304e6c2bd6 100644
--- a/engines/chewy/debugger.cpp
+++ b/engines/chewy/debugger.cpp
@@ -109,7 +109,7 @@ bool Debugger::Cmd_Text(int argc, const char **argv) {
 	int chunk = atoi(argv[1]);
 	int entry = atoi(argv[2]);
 	Common::StringArray text = _G(atds)->getTextArray(chunk, entry);
-	for (int i = 0; i < text.size(); i++) {
+	for (uint i = 0; i < text.size(); i++) {
 		debugPrintf("%d: %s\n", i, text[i].c_str());
 	}
 	return true;




More information about the Scummvm-git-logs mailing list