aboutsummaryrefslogtreecommitdiff
path: root/engines/pink
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-06-30 17:12:39 +0300
committerAndrei Prykhodko2018-06-30 17:12:39 +0300
commit326f21c1a9b731494e9e68a6f2e617a6f5671e49 (patch)
tree530102c5f679b32fd8c77d78876abba19833dcee /engines/pink
parent5fd27cc8ce2c89b8b335c75d9a063e837c8b8607 (diff)
downloadscummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.tar.gz
scummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.tar.bz2
scummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.zip
PINK: fixed compiler warnings
Diffstat (limited to 'engines/pink')
-rw-r--r--engines/pink/objects/actions/action_loop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp
index 09bea7c6ec..fb84695e68 100644
--- a/engines/pink/objects/actions/action_loop.cpp
+++ b/engines/pink/objects/actions/action_loop.cpp
@@ -68,7 +68,7 @@ void ActionLoop::update() {
switch (_style) {
case kPingPong:
if (_forward) {
- if (frame < _stopFrame) {
+ if (frame < (uint)_stopFrame) {
decodeNext();
} else {
_forward = false;
@@ -91,7 +91,7 @@ void ActionLoop::update() {
break;
}
case kForward:
- if (frame == _stopFrame) {
+ if (frame == (uint)_stopFrame) {
setFrame(_startFrame);
}
decodeNext();