aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/level9/detection.cpp
diff options
context:
space:
mode:
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();