aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-08 00:31:22 +0200
committerTorbjörn Andersson2015-06-08 00:31:22 +0200
commit19448b2fdb172a6fd85b0ffad727116dea19d5d5 (patch)
treeea9d1bd686cadf80c419375ff5cf2f66e5898556
parente90c04b14f870ca6d36029b2e0769ab8e77f29b8 (diff)
downloadscummvm-rg350-19448b2fdb172a6fd85b0ffad727116dea19d5d5.tar.gz
scummvm-rg350-19448b2fdb172a6fd85b0ffad727116dea19d5d5.tar.bz2
scummvm-rg350-19448b2fdb172a6fd85b0ffad727116dea19d5d5.zip
SHERLOCK: Silence GCC warning
-rw-r--r--engines/sherlock/objects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index a360f9abf9..1e57d00253 100644
--- a/engines/sherlock/objects.cpp
+++ b/engines/sherlock/objects.cpp
@@ -260,7 +260,7 @@ void Sprite::adjustSprite() {
if (!map._active || (map._frameChangeFlag = !map._frameChangeFlag))
++_frameNumber;
- if (_frameNumber >= _walkSequences[_sequenceNumber]._sequences.size() ||
+ if (_frameNumber >= (int)_walkSequences[_sequenceNumber]._sequences.size() ||
_walkSequences[_sequenceNumber][_frameNumber] == 0) {
switch (_sequenceNumber) {
case Scalpel::STOP_UP: