From 7889783cac08bf24ac6daa835bab7120033d88cd Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 24 Oct 2006 09:44:20 +0000 Subject: const correctness svn-id: r24488 --- engines/cine/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cine') diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 7a601f37b3..4bda1d9991 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -662,7 +662,7 @@ bool CineEngine::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); @@ -696,7 +696,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); -- cgit v1.2.3