aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/rlf_animation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/rlf_animation.h b/engines/zvision/rlf_animation.h
index 09d0bac71e..d49e6a9395 100644
--- a/engines/zvision/rlf_animation.h
+++ b/engines/zvision/rlf_animation.h
@@ -78,7 +78,7 @@ public:
const uint16 *getNextFrame();
const uint16 *getPreviousFrame();
- bool endOfAnimation() { return _currentFrame == _frameCount - 1; }
+ bool endOfAnimation() { return _currentFrame == (int)_frameCount - 1; }
private:
bool readHeader();