aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-builtins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp
index f3b7e377c9..677e8ae988 100644
--- a/engines/director/lingo/lingo-builtins.cpp
+++ b/engines/director/lingo/lingo-builtins.cpp
@@ -1410,7 +1410,7 @@ void Lingo::b_zoomBox(int nargs) {
// Looks for endSprite in the next frame
Common::Rect *endRect = frame->getSpriteRect(endSprite.u.i);
if (!endRect) {
- if (curFrame + 1 < score->_frames.size())
+ if ((uint)curFrame + 1 < score->_frames.size())
score->_frames[curFrame + 1]->getSpriteRect(endSprite.u.i);
}