diff options
author | RichieSams | 2013-10-04 14:13:21 -0500 |
---|---|---|
committer | RichieSams | 2013-10-04 14:13:21 -0500 |
commit | 260ba64bdaf76cc201c57284b99890fe3a9422ad (patch) | |
tree | f7db6f106296cc272466ef26b7dbbe82ded0a58d /engines | |
parent | 2887e8295d707df99dc21c5e04eecc76953b4d41 (diff) | |
download | scummvm-rg350-260ba64bdaf76cc201c57284b99890fe3a9422ad.tar.gz scummvm-rg350-260ba64bdaf76cc201c57284b99890fe3a9422ad.tar.bz2 scummvm-rg350-260ba64bdaf76cc201c57284b99890fe3a9422ad.zip |
ZVISION: Fix signed/unsigned mismatch
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/rlf_animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/rlf_animation.cpp b/engines/zvision/rlf_animation.cpp index 8981a6983c..5f1d41daae 100644 --- a/engines/zvision/rlf_animation.cpp +++ b/engines/zvision/rlf_animation.cpp @@ -164,7 +164,7 @@ void RlfAnimation::seekToFrame(int frameNumber) { int closestFrame = _currentFrame; int distance = (int)frameNumber - _currentFrame; - for (int i = 0; i < _completeFrames.size(); ++i) { + for (uint i = 0; i < _completeFrames.size(); ++i) { int newDistance = (int)frameNumber - (int)(_completeFrames[i]); if (newDistance > 0 && (closestFrame == -1 || newDistance < distance)) { closestFrame = _completeFrames[i]; |