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

digitall noreply at scummvm.org
Sun Jul 31 20:28:14 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:
c0003be662 PINK: Fix GCC Compiler Warning of Enumerated vs. Non-Enumerated Comparison


Commit: c0003be66229e77124f14138e4a808878a4a8396
    https://github.com/scummvm/scummvm/commit/c0003be66229e77124f14138e4a808878a4a8396
Author: D G Turner (digitall at scummvm.org)
Date: 2022-07-31T21:27:47+01:00

Commit Message:
PINK: Fix GCC Compiler Warning of Enumerated vs. Non-Enumerated Comparison

Changed paths:
    engines/pink/gui.cpp


diff --git a/engines/pink/gui.cpp b/engines/pink/gui.cpp
index 2c249d0ce20..8d70454085b 100644
--- a/engines/pink/gui.cpp
+++ b/engines/pink/gui.cpp
@@ -129,10 +129,11 @@ enum {
 
 enum {
 	kRecentSaveId		= 9,
-	kRecentSavesOffset	= 400000,
-	kMaxSaves			= 10
+	kRecentSavesOffset	= 400000
 };
 
+static const int kMaxSaves = 10;
+
 static void menuCommandsCallback(int action, Common::U32String &, void *data) {
 	PinkEngine *engine = (PinkEngine *)data;
 




More information about the Scummvm-git-logs mailing list