diff options
author | Filippos Karapetis | 2015-12-04 02:44:29 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:50 +0100 |
commit | b7faa0bccfcefa33e5bb3345b548aa504bd22982 (patch) | |
tree | 22adeeef4365302676026dc58144c9c5eb1b62b1 | |
parent | d50e9f35415240c7f848a12e1a5b35a0bd314fe1 (diff) | |
download | scummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.tar.gz scummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.tar.bz2 scummvm-rg350-b7faa0bccfcefa33e5bb3345b548aa504bd22982.zip |
LAB: Fix bug in getText()
-rw-r--r-- | engines/lab/resource.cpp | 2 |
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); |