From b7faa0bccfcefa33e5bb3345b548aa504bd22982 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 4 Dec 2015 02:44:29 +0200 Subject: LAB: Fix bug in getText() --- engines/lab/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/lab/resource.cpp b/engines/lab/resource.cpp index 303bae85ab..5be7aedea5 100644 --- a/engines/lab/resource.cpp +++ b/engines/lab/resource.cpp @@ -86,7 +86,7 @@ char *Resource::getText(const char *fileName) { g_lab->_music->updateMusic(); - byte count = dataFile->size(); + uint32 count = dataFile->size(); byte *buffer = new byte[count]; byte *text = buffer; dataFile->read(buffer, count); -- cgit v1.2.3