diff options
author | Andrei Prykhodko | 2018-06-30 17:12:39 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-06-30 17:12:39 +0300 |
commit | 326f21c1a9b731494e9e68a6f2e617a6f5671e49 (patch) | |
tree | 530102c5f679b32fd8c77d78876abba19833dcee | |
parent | 5fd27cc8ce2c89b8b335c75d9a063e837c8b8607 (diff) | |
download | scummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.tar.gz scummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.tar.bz2 scummvm-rg350-326f21c1a9b731494e9e68a6f2e617a6f5671e49.zip |
PINK: fixed compiler warnings
-rw-r--r-- | engines/pink/objects/actions/action_loop.cpp | 4 |
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(); |