From 64b4f13b36030963b507be6e8fc4c4eb7bf22206 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 26 Oct 2019 11:12:01 -0700 Subject: GLK: LEVEL9: Compilation fixes --- engines/glk/level9/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/glk/level9/detection.cpp') 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(); -- cgit v1.2.3