aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-04 02:44:29 +0200
committerWillem Jan Palenstijn2015-12-23 21:33:50 +0100
commitb7faa0bccfcefa33e5bb3345b548aa504bd22982 (patch)
tree22adeeef4365302676026dc58144c9c5eb1b62b1
parentd50e9f35415240c7f848a12e1a5b35a0bd314fe1 (diff)
downloadscummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.tar.gz
scummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.tar.bz2
scummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.zip
LAB: Fix bug in getText()
-rw-r--r--engines/lab/resource.cpp2
1 files changed, 1 insertions, 1 deletions
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);