aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-12-12 19:11:13 +0000
committerD G Turner2019-12-12 19:11:13 +0000
commitf0b7a28c51cd71826f578154ee5fb694b735660a (patch)
tree9a27c7f8bde64f26be64c8c61136406c9fa66d61
parent799a088b6edb7772c01d60ebc3e6160bb26ce8fc (diff)
downloadscummvm-rg350-f0b7a28c51cd71826f578154ee5fb694b735660a.tar.gz
scummvm-rg350-f0b7a28c51cd71826f578154ee5fb694b735660a.tar.bz2
scummvm-rg350-f0b7a28c51cd71826f578154ee5fb694b735660a.zip
DIRECTOR: Fix Signed vs. Unsigned Comparison GCC Warning.
This is emitted from -Wsign-compare.
-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);
}