SCI: Fix compilation on amigaos4

This commit is contained in:
Lars Skovlund 2016-02-29 20:15:53 +01:00
parent 824cb7bc89
commit ca623ff490

View File

@ -3951,8 +3951,8 @@ bool Console::cmdMapVocab994(int argc, const char **argv) {
if (!obj->isClass() && getSciVersion() != SCI_VERSION_3)
obj = s->_segMan->getObject(obj->getSuperClassSelector());
first = MIN(first, resource->size / 2 - 2);
last = MIN(last, resource->size / 2 - 2);
first = MIN(first, (unsigned int) (resource->size / 2 - 2));
last = MIN(last, (unsigned int) (resource->size / 2 - 2));
for (unsigned int i = first; i <= last; ++i)
{