aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2018-07-21 13:24:17 +0200
committerEugene Sandulenko2018-07-21 13:24:17 +0200
commita8369132d689c6256dfd0f1bc0e6ab6e4e4f336a (patch)
tree42c129c5a33bc29812e1e52a6da05e398ad59e1a
parent45137f34df748be01bbe9e935d1cdb0d26a5d808 (diff)
downloadscummvm-rg350-a8369132d689c6256dfd0f1bc0e6ab6e4e4f336a.tar.gz
scummvm-rg350-a8369132d689c6256dfd0f1bc0e6ab6e4e4f336a.tar.bz2
scummvm-rg350-a8369132d689c6256dfd0f1bc0e6ab6e4e4f336a.zip
MACVENTURE: Fix warning
-rw-r--r--engines/macventure/macventure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp
index ddc6d90a81..907349d41b 100644
--- a/engines/macventure/macventure.cpp
+++ b/engines/macventure/macventure.cpp
@@ -728,7 +728,7 @@ int MacVentureEngine::findObjectInArray(ObjID objID, const Common::Array<ObjID>
}
}
// HACK, should use iterator
- return found ? i : -1;
+ return found ? (int)i : -1;
}
uint MacVentureEngine::getPrefixNdx(ObjID obj) {