[Scummvm-git-logs] scummvm master -> db951307d8bd5e7ec4bf2befcb5d8144e2f8d0ec
digitall
noreply at scummvm.org
Fri Mar 25 19:08:55 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:
db951307d8 CHEWY: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: db951307d8bd5e7ec4bf2befcb5d8144e2f8d0ec
https://github.com/scummvm/scummvm/commit/db951307d8bd5e7ec4bf2befcb5d8144e2f8d0ec
Author: D G Turner (digitall at scummvm.org)
Date: 2022-03-25T19:08:28Z
Commit Message:
CHEWY: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/chewy/io_game.cpp
diff --git a/engines/chewy/io_game.cpp b/engines/chewy/io_game.cpp
index de597a931a4..a579040833a 100644
--- a/engines/chewy/io_game.cpp
+++ b/engines/chewy/io_game.cpp
@@ -31,11 +31,11 @@ Common::StringArray &IOGame::io_init() {
_fileFind.resize(1000);
- for (int i = 0; i < saveList.size(); i++) {
+ for (uint i = 0; i < saveList.size(); i++) {
_fileFind[i] = "";
for (uint j = 0; j < saveList.size(); ++j) {
- if (saveList[j].getSaveSlot() == i) {
+ if (saveList[j].getSaveSlot() == (int)i) {
Common::String name = saveList[j].getDescription();
_fileFind[i] = name;
break;
More information about the Scummvm-git-logs
mailing list