Fix compile.

svn-id: r26446
This commit is contained in:
Johannes Schickel 2007-04-09 22:07:54 +00:00
parent 4bbb951c8e
commit 383533b11f

View File

@ -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) {