aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/level9/detection.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-10-26 11:12:01 -0700
committerPaul Gilbert2019-10-26 11:13:30 -0700
commit64b4f13b36030963b507be6e8fc4c4eb7bf22206 (patch)
treea42d946b82d488965e113da9f43c27f82e690975 /engines/glk/level9/detection.cpp
parentd9c8237042c626a205ff5f59bcdbfe9ea31599d6 (diff)
downloadscummvm-rg350-64b4f13b36030963b507be6e8fc4c4eb7bf22206.tar.gz
scummvm-rg350-64b4f13b36030963b507be6e8fc4c4eb7bf22206.tar.bz2
scummvm-rg350-64b4f13b36030963b507be6e8fc4c4eb7bf22206.zip
GLK: LEVEL9: Compilation fixes
Diffstat (limited to 'engines/glk/level9/detection.cpp')
-rw-r--r--engines/glk/level9/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/level9/detection.cpp b/engines/glk/level9/detection.cpp
index 93e8143b3c..5788c0f95c 100644
--- a/engines/glk/level9/detection.cpp
+++ b/engines/glk/level9/detection.cpp
@@ -514,7 +514,7 @@ void Scanner::fullScan(byte *startFile, uint32 size) {
/*----------------------------------------------------------------------*/
-GameDetection::GameDetection(byte *&startData, size_t &fileSize) :
+GameDetection::GameDetection(byte *&startData, uint32 &fileSize) :
_startData(startData), _fileSize(fileSize), _crcInitialized(false), _gameName(nullptr) {
Common::fill(&_crcTable[0], &_crcTable[256], 0);
}
@@ -723,7 +723,7 @@ bool Level9MetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &
if (!gameFile.open(*file))
continue;
- size_t fileSize = gameFile.size();
+ uint32 fileSize = gameFile.size();
if (fileSize > 0xffff) {
// Too big to possibly be a Level 9 game
gameFile.close();