diff options
author | Lars Skovlund | 2016-02-29 20:15:53 +0100 |
---|---|---|
committer | Lars Skovlund | 2016-02-29 20:16:37 +0100 |
commit | ca623ff49073c76915a769bbbea94cb1a1e4dd25 (patch) | |
tree | 2826471f24cdc6e32b53dbdd4b25497fdc3b2902 /engines/sci/console.cpp | |
parent | 824cb7bc8976a284b63c528c6f3938fe1d5089b9 (diff) | |
download | scummvm-rg350-ca623ff49073c76915a769bbbea94cb1a1e4dd25.tar.gz scummvm-rg350-ca623ff49073c76915a769bbbea94cb1a1e4dd25.tar.bz2 scummvm-rg350-ca623ff49073c76915a769bbbea94cb1a1e4dd25.zip |
SCI: Fix compilation on amigaos4
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |