[Scummvm-git-logs] scummvm master -> 34eb62b46a51df580ff367908a189b6af7ce1c92

digitall noreply at scummvm.org
Fri Jun 24 18:15:47 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:
34eb62b46a GLK: Fix GCC Compiler Warnings in Detection Code


Commit: 34eb62b46a51df580ff367908a189b6af7ce1c92
    https://github.com/scummvm/scummvm/commit/34eb62b46a51df580ff367908a189b6af7ce1c92
Author: D G Turner (digitall at scummvm.org)
Date: 2022-06-24T19:15:15+01:00

Commit Message:
GLK: Fix GCC Compiler Warnings in Detection Code

Changed paths:
    engines/glk/detection.cpp
    engines/glk/detection.h


diff --git a/engines/glk/detection.cpp b/engines/glk/detection.cpp
index 77521fc5cdb..5e1e8904695 100644
--- a/engines/glk/detection.cpp
+++ b/engines/glk/detection.cpp
@@ -90,7 +90,7 @@ GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common:
 }
 
 GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename,
-		Common::Language lang, Common::Platform platform, GameSupportLevel supportLevel) : DetectedGame("glk", id, desc, lang, platform) {
+		Common::Language lang, Common::Platform p, GameSupportLevel supportLevel) : DetectedGame("glk", id, desc, lang, p) {
 	setGUIOptions(getGlkGUIOptions());
 	gameSupportLevel = supportLevel;
 	addExtraEntry("filename", filename);
diff --git a/engines/glk/detection.h b/engines/glk/detection.h
index 28a40ca40dd..7370eda66de 100644
--- a/engines/glk/detection.h
+++ b/engines/glk/detection.h
@@ -142,7 +142,7 @@ struct GlkDetectionEntry {
 #define DT_ENTRYLP0(ID, LANG, MD5, FILESIZE, PLATFORM) { ID, "", MD5, FILESIZE, LANG, PLATFORM}
 #define DT_ENTRYLP1(ID, LANG, EXTRA, MD5, FILESIZE, PLATFORM) { ID, EXTRA, MD5, FILESIZE, LANG, PLATFORM }
 
-#define DT_END_MARKER { nullptr, nullptr, nullptr, 0, Common::EN_ANY }
+#define DT_END_MARKER { nullptr, nullptr, nullptr, 0, Common::EN_ANY, Common::kPlatformUnknown }
 
 } // End of namespace Glk
 




More information about the Scummvm-git-logs mailing list