aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/scott/detection.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-11-17 15:02:34 -0800
committerPaul Gilbert2019-11-17 15:02:34 -0800
commit39a210afacb9a627bf8a19a320f230667f8218f7 (patch)
treebcd9da88b223dfe5fc51f30847de242306c2831a /engines/glk/scott/detection.cpp
parent00cff85a607aff668f8d9e0ba550ce52f9f50648 (diff)
downloadscummvm-rg350-39a210afacb9a627bf8a19a320f230667f8218f7.tar.gz
scummvm-rg350-39a210afacb9a627bf8a19a320f230667f8218f7.tar.bz2
scummvm-rg350-39a210afacb9a627bf8a19a320f230667f8218f7.zip
GLK: SCOTT: Cleanup
Diffstat (limited to 'engines/glk/scott/detection.cpp')
-rw-r--r--engines/glk/scott/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/scott/detection.cpp b/engines/glk/scott/detection.cpp
index f0a6e47174..bc2cde38f2 100644
--- a/engines/glk/scott/detection.cpp
+++ b/engines/glk/scott/detection.cpp
@@ -64,7 +64,7 @@ bool ScottMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &g
if (!gameFile.open(*file))
continue;
Common::String md5 = Common::computeStreamMD5AsString(gameFile, 5000);
- int32 filesize = gameFile.size();
+ size_t filesize = (size_t)gameFile.size();
gameFile.seek(0);
isBlorb = Blorb::isBlorb(gameFile, ID_SAAI);
gameFile.close();
@@ -73,7 +73,7 @@ bool ScottMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &g
continue;
// Scan through the Scott game list for a match
- const ScottGame *p = SCOTT_GAMES;
+ const GlkDetectionEntry *p = SCOTT_GAMES;
while (p->_md5 && p->_filesize != filesize && md5 != p->_md5)
++p;