mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
Fix compile.
svn-id: r26446
This commit is contained in:
parent
4bbb951c8e
commit
383533b11f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user