[Scummvm-git-logs] scummvm master -> 8b239a257709f14f6b57cd50d189dda7b5c5de60
digitall
547637+digitall at users.noreply.github.com
Sat Aug 28 12:56:51 UTC 2021
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:
8b239a2577 GUI: Fix GCC Signed vs. Unsigned Comparison Warning
Commit: 8b239a257709f14f6b57cd50d189dda7b5c5de60
https://github.com/scummvm/scummvm/commit/8b239a257709f14f6b57cd50d189dda7b5c5de60
Author: D G Turner (digitall at scummvm.org)
Date: 2021-08-28T13:56:09+01:00
Commit Message:
GUI: Fix GCC Signed vs. Unsigned Comparison Warning
Changed paths:
gui/saveload-dialog.cpp
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index 407fa5e837..5f52ed42ba 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -815,7 +815,7 @@ const Common::U32String &SaveLoadChooserGrid::getResultString() const {
void SaveLoadChooserGrid::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
const int slot = cmd + _curPage * _entriesPerPage - 1;
- if (cmd <= _entriesPerPage && slot < _saveList.size()) {
+ if (cmd <= _entriesPerPage && slot < (int)_saveList.size()) {
activate(slot, Common::U32String());
}
More information about the Scummvm-git-logs
mailing list