aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {