aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/rlf_animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/rlf_animation.cpp b/engines/zvision/rlf_animation.cpp
index 5ce58e68fd..79638511ad 100644
--- a/engines/zvision/rlf_animation.cpp
+++ b/engines/zvision/rlf_animation.cpp
@@ -156,7 +156,7 @@ RlfAnimation::Frame RlfAnimation::readNextFrame() {
void RlfAnimation::seekToFrame(int frameNumber) {
assert(!_stream);
- assert(frameNumber < _frameCount || frameNumber >= -1);
+ assert(frameNumber < (int)_frameCount || frameNumber >= -1);
if (frameNumber == -1) {
_currentFrame = -1;
@@ -173,7 +173,7 @@ void RlfAnimation::seekToFrame(int frameNumber) {
}
}
- for (uint i = closestFrame; i <= frameNumber; i++) {
+ for (int i = closestFrame; i <= frameNumber; i++) {
applyFrameToCurrent(i);
}