From ca623ff49073c76915a769bbbea94cb1a1e4dd25 Mon Sep 17 00:00:00 2001 From: Lars Skovlund Date: Mon, 29 Feb 2016 20:15:53 +0100 Subject: SCI: Fix compilation on amigaos4 --- engines/sci/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/console.cpp') diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index f271bedae1..450ca13582 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -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) { -- cgit v1.2.3