diff options
author | Fedor | 2015-01-19 23:25:40 +0300 |
---|---|---|
committer | Fedor | 2015-01-19 23:25:40 +0300 |
commit | 08b6a5b4865453e916709003e3a0b1a032b8e97e (patch) | |
tree | 5a963c80c04769d46e0d6509cff6a4bfde139e6f | |
parent | 68b7839d994d536c7e65b3bfe5045ba164bbedd5 (diff) | |
download | scummvm-rg350-08b6a5b4865453e916709003e3a0b1a032b8e97e.tar.gz scummvm-rg350-08b6a5b4865453e916709003e3a0b1a032b8e97e.tar.bz2 scummvm-rg350-08b6a5b4865453e916709003e3a0b1a032b8e97e.zip |
ZVISION: Fix comparison between signed and unsigned integers
-rw-r--r-- | engines/zvision/video/rlf_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/video/rlf_decoder.cpp b/engines/zvision/video/rlf_decoder.cpp index 040582bcf8..3e11a70f27 100644 --- a/engines/zvision/video/rlf_decoder.cpp +++ b/engines/zvision/video/rlf_decoder.cpp @@ -169,7 +169,7 @@ bool RLFDecoder::RLFVideoTrack::seek(const Audio::Timestamp &time) { if (distance < 0) { for (uint i = 0; i < _completeFrames.size(); ++i) { - if ((int)_completeFrames[i] > frame) + if (_completeFrames[i] > frame) break; closestFrame = _completeFrames[i]; } |