[Scummvm-git-logs] scummvm master -> 4e0c0641737f76fe9693d8fd5cc8349efb1dfcf0
digitall
547637+digitall at users.noreply.github.com
Thu Nov 11 02:26:31 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:
4e0c064173 PEGASUS: Fix GCC Signed vs. Unsigned Compiler Warning
Commit: 4e0c0641737f76fe9693d8fd5cc8349efb1dfcf0
https://github.com/scummvm/scummvm/commit/4e0c0641737f76fe9693d8fd5cc8349efb1dfcf0
Author: D G Turner (digitall at scummvm.org)
Date: 2021-11-11T02:25:50Z
Commit Message:
PEGASUS: Fix GCC Signed vs. Unsigned Compiler Warning
Changed paths:
engines/pegasus/metaengine.cpp
diff --git a/engines/pegasus/metaengine.cpp b/engines/pegasus/metaengine.cpp
index 8bb937a929..5048b32894 100644
--- a/engines/pegasus/metaengine.cpp
+++ b/engines/pegasus/metaengine.cpp
@@ -82,7 +82,7 @@ public:
if (saveGameIdx == kSavegameFilePattern)
return Common::String::format("pegasus-*.sav");
Common::StringArray fileNames = Pegasus::PegasusEngine::listSaveFiles();
- if (saveGameIdx < fileNames.size())
+ if (saveGameIdx < (int)fileNames.size())
return fileNames[saveGameIdx];
if (fileNames.empty())
return Common::String("pegasus-1.sav");
More information about the Scummvm-git-logs
mailing list