aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-14 12:15:57 +0300
committerFilippos Karapetis2012-06-14 12:20:43 +0300
commit27f2b6e4dd829663f771fec0651b8a1e31514a90 (patch)
treeb1500de49a673e805d29b77fa9016dbba1abb75d
parent9c8ff41181955048abd602f1d58639e2082182c7 (diff)
downloadscummvm-rg350-27f2b6e4dd829663f771fec0651b8a1e31514a90.tar.gz
scummvm-rg350-27f2b6e4dd829663f771fec0651b8a1e31514a90.tar.bz2
scummvm-rg350-27f2b6e4dd829663f771fec0651b8a1e31514a90.zip
SCI: Change the script buffer size to be a size_t as well
This will be needed in the future to load large SCI3 scripts
-rw-r--r--engines/sci/engine/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h
index 1ebae3b7a8..a180579d2f 100644
--- a/engines/sci/engine/script.h
+++ b/engines/sci/engine/script.h
@@ -57,7 +57,7 @@ private:
int _lockers; /**< Number of classes and objects that require this script */
size_t _scriptSize;
size_t _heapSize;
- uint16 _bufSize;
+ size_t _bufSize;
const uint16 *_exportTable; /**< Abs. offset of the export table or 0 if not present */
uint16 _numExports; /**< Number of entries in the exports table */