[Scummvm-git-logs] scummvm master -> ab6ab2813e89a5054091808f358ebe67fc76eb5b

digitall noreply at scummvm.org
Sat Oct 5 18:48:16 UTC 2024


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:
ab6ab2813e MYST3: Fix Signed vs. Unsigned Comparison GCC Compiler Warning


Commit: ab6ab2813e89a5054091808f358ebe67fc76eb5b
    https://github.com/scummvm/scummvm/commit/ab6ab2813e89a5054091808f358ebe67fc76eb5b
Author: D G Turner (digitall at scummvm.org)
Date: 2024-10-05T19:47:34+01:00

Commit Message:
MYST3: Fix Signed vs. Unsigned Comparison GCC Compiler Warning

Changed paths:
    engines/myst3/myst3.cpp


diff --git a/engines/myst3/myst3.cpp b/engines/myst3/myst3.cpp
index de2f27dc870..0bec85d8a2d 100644
--- a/engines/myst3/myst3.cpp
+++ b/engines/myst3/myst3.cpp
@@ -1518,7 +1518,7 @@ Common::Error Myst3Engine::loadGameState(int slot) {
 	// Get the Save List index for the selected slot
 	int listIndex = (slot == 0) ? slot : slot - 1;
 	// Sanity check
-	if (listIndex >= filenames.size()) {
+	if (listIndex >= (int)filenames.size()) {
 		return Common::kReadingFailed;
 	}
 




More information about the Scummvm-git-logs mailing list