mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Use MIN with correct template parameter.
svn-id: r42008
This commit is contained in:
parent
4b850a2c03
commit
62acda5fdb
@ -1095,7 +1095,7 @@ bool Inter_v1::o1_palLoad(OpFuncParams ¶ms) {
|
||||
if (!resource)
|
||||
break;
|
||||
|
||||
memcpy((char *) _vm->_draw->_vgaPalette, resource->getData(), MIN(768, resource->getSize()));
|
||||
memcpy((char *) _vm->_draw->_vgaPalette, resource->getData(), MIN<int>(768, resource->getSize()));
|
||||
delete resource;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user