aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorRichieSams2013-09-15 14:10:17 -0500
committerRichieSams2013-09-15 15:00:53 -0500
commit466eba1e9fb271b3d6b3a4e9f02a30a9333f68da (patch)
treedbfec9fca76e9f0146c83b707f8ee8ec36f7fd72 /engines/zvision
parent8ba295d7103322a5193cc051da81ae82ccf5947b (diff)
downloadscummvm-rg350-466eba1e9fb271b3d6b3a4e9f02a30a9333f68da.tar.gz
scummvm-rg350-466eba1e9fb271b3d6b3a4e9f02a30a9333f68da.tar.bz2
scummvm-rg350-466eba1e9fb271b3d6b3a4e9f02a30a9333f68da.zip
ZVISION: Fix signed/unsigned mismatch
Diffstat (limited to 'engines/zvision')
-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);
}