aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/gui.cpp')
-rw-r--r--engines/macventure/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 34aa2c90cb..cc1de7cab2 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -849,7 +849,7 @@ void Gui::updateExit(ObjID obj) {
int i = 0;
Common::Array<CommandButton>::const_iterator it = _exitsData->begin();
for (;it != _exitsData->end(); it++) {
- if (it->getData().refcon == obj)
+ if ((ObjID)it->getData().refcon == obj)
ctl = i;
else
i++;