aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorMax Horn2006-10-24 09:44:20 +0000
committerMax Horn2006-10-24 09:44:20 +0000
commit7889783cac08bf24ac6daa835bab7120033d88cd (patch)
tree5c683e68690b385fb7804307601fce99291ef401 /engines/cine
parent920a5ac5f43dfe76283d55e3eb285a87c2c44b2a (diff)
downloadscummvm-rg350-7889783cac08bf24ac6daa835bab7120033d88cd.tar.gz
scummvm-rg350-7889783cac08bf24ac6daa835bab7120033d88cd.tar.bz2
scummvm-rg350-7889783cac08bf24ac6daa835bab7120033d88cd.zip
const correctness
svn-id: r24488
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/detection.cpp4
1 files changed, 2 insertions, 2 deletions
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);