From 62acda5fdbe0daaeae9e1d0f08044b8be4ee98cf Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Wed, 1 Jul 2009 20:11:44 +0000 Subject: [PATCH] Use MIN with correct template parameter. svn-id: r42008 --- engines/gob/inter_v1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index d5d5fcad9a0..96ecfc6b250 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -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(768, resource->getSize())); delete resource; break;