aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/game.cpp')
-rw-r--r--engines/agos/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp
index d393f8e95e..9cf545f5b9 100644
--- a/engines/agos/game.cpp
+++ b/engines/agos/game.cpp
@@ -205,7 +205,7 @@ bool AGOSEngine::initGame() {
// over again...
for (int i = 0; i < ARRAYSIZE(gameDescriptions); i++)
- descList.push_back((ADGameDescription *)&gameDescriptions[i]);
+ descList.push_back((const ADGameDescription *)&gameDescriptions[i]);
AdvDetector.registerGameDescriptions(descList);
AdvDetector.setFileMD5Bytes(FILE_MD5_BYTES);
@@ -239,7 +239,7 @@ DetectedGameList GAME_detectGames(const FSList &fslist) {
Common::ADGameDescList descList;
for (int i = 0; i < ARRAYSIZE(gameDescriptions); i++)
- descList.push_back((ADGameDescription *)&gameDescriptions[i]);
+ descList.push_back((const ADGameDescription *)&gameDescriptions[i]);
AdvDetector.registerGameDescriptions(descList);
AdvDetector.setFileMD5Bytes(FILE_MD5_BYTES);