diff options
author | Johannes Schickel | 2007-04-09 22:07:54 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-04-09 22:07:54 +0000 |
commit | 383533b11f857e299c1f379717b7f3f6a5688e37 (patch) | |
tree | 43d2e0f5e149e55b4a08d85f1b7be90909d1a4a4 /engines/gob/saveload.cpp | |
parent | 4bbb951c8e9f22a33575ea2e169343dabdd8e55d (diff) | |
download | scummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.tar.gz scummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.tar.bz2 scummvm-rg350-383533b11f857e299c1f379717b7f3f6a5688e37.zip |
Fix compile.
svn-id: r26446
Diffstat (limited to 'engines/gob/saveload.cpp')
-rw-r--r-- | engines/gob/saveload.cpp | 2 |
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) { |