[Scummvm-git-logs] scummvm master -> 2c4c9fcb054fc6fb319e41b5f4f5ec552debc464
digitall
noreply at scummvm.org
Sat Mar 26 11:50:48 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:
2c4c9fcb05 CHEWY: Fix Signed vs. Unsigned GCC Compiler Warning
Commit: 2c4c9fcb054fc6fb319e41b5f4f5ec552debc464
https://github.com/scummvm/scummvm/commit/2c4c9fcb054fc6fb319e41b5f4f5ec552debc464
Author: D G Turner (digitall at scummvm.org)
Date: 2022-03-26T11:50:25Z
Commit Message:
CHEWY: Fix Signed vs. Unsigned GCC Compiler Warning
Changed paths:
engines/chewy/dialogs/files.cpp
diff --git a/engines/chewy/dialogs/files.cpp b/engines/chewy/dialogs/files.cpp
index 66b391f23b3..5075edf9c9c 100644
--- a/engines/chewy/dialogs/files.cpp
+++ b/engines/chewy/dialogs/files.cpp
@@ -115,7 +115,7 @@ bool Files::execute(bool isInGame) {
// Write the list of savegame slots
for (int16 i = 0; i < NUM_VISIBLE_SLOTS; i++) {
- if (i + text_off >= saveList.size())
+ if (i + text_off >= (int16) saveList.size())
break;
// TODO: This implementation disallows gaps in the save list
More information about the Scummvm-git-logs
mailing list