aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2007-04-09 22:07:54 +0000
committerJohannes Schickel2007-04-09 22:07:54 +0000
commit383533b11f857e299c1f379717b7f3f6a5688e37 (patch)
tree43d2e0f5e149e55b4a08d85f1b7be90909d1a4a4
parent4bbb951c8e9f22a33575ea2e169343dabdd8e55d (diff)
downloadscummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.tar.gz
scummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.tar.bz2
scummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.zip
Fix compile.
svn-id: r26446
-rw-r--r--engines/gob/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/saveload.cpp b/engines/gob/saveload.cpp
index e4b14639b1..beb1bc385c 100644
--- a/engines/gob/saveload.cpp
+++ b/engines/gob/saveload.cpp
@@ -396,7 +396,7 @@ bool SaveLoad::loadSprite(Common::ReadStream &in, int32 size) {
return false;
}
- buf = new byte[MAX(768, size)];
+ buf = new byte[MAX<int>(768, size)];
assert(buf);
if (readPal) {