aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/expression.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-08-24 22:37:09 +0000
committerSven Hesse2009-08-24 22:37:09 +0000
commit081fa85b140b3175f035a74a4fcced59539fea1d (patch)
tree6f877c49ee4ba55ab3c5fa0f53251dabf08e18bb /engines/gob/expression.cpp
parentcb202830267b52db4032abccf8e8f9af7c6dd245 (diff)
downloadscummvm-rg350-081fa85b140b3175f035a74a4fcced59539fea1d.tar.gz
scummvm-rg350-081fa85b140b3175f035a74a4fcced59539fea1d.tar.bz2
scummvm-rg350-081fa85b140b3175f035a74a4fcced59539fea1d.zip
Playtoons uses a variable space that exceeds 32767 bytes. Changing a few variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop)
svn-id: r43713
Diffstat (limited to 'engines/gob/expression.cpp')
-rw-r--r--engines/gob/expression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/expression.cpp b/engines/gob/expression.cpp
index 61376b2212..789ac3211d 100644
--- a/engines/gob/expression.cpp
+++ b/engines/gob/expression.cpp
@@ -655,7 +655,7 @@ int16 Expression::parseValExpr(byte stopToken) {
// Load a value according to the operation
void Expression::loadValue(byte operation, uint32 varBase, const StackFrame &stackFrame) {
int16 dimCount;
- int16 temp;
+ uint16 temp;
int16 temp2;
int16 offset;
int16 dim;