aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2017-01-10 03:23:31 +0000
committerD G Turner2017-01-10 03:23:31 +0000
commitcff454d5e77abfa1d62aa5d0f0d03643a08dedab (patch)
tree09707c513c9b1a5dddf9e6a7df623507fb727f88
parent8ae904e15448f863006c47d1ffdee9df1adeeb58 (diff)
downloadscummvm-rg350-cff454d5e77abfa1d62aa5d0f0d03643a08dedab.tar.gz
scummvm-rg350-cff454d5e77abfa1d62aa5d0f0d03643a08dedab.tar.bz2
scummvm-rg350-cff454d5e77abfa1d62aa5d0f0d03643a08dedab.zip
VIDEO: Fix Two Further Signed vs. Unsigned Compiler Warnings.
-rw-r--r--video/avi_decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index 32aa9f9044..ae30ec0636 100644
--- a/video/avi_decoder.cpp
+++ b/video/avi_decoder.cpp
@@ -738,9 +738,9 @@ bool AVIDecoder::seekIntern(const Audio::Timestamp &time) {
chunk = _fileStream->readStream(entry->size);
videoTrack2->decodeFrame(chunk);
- if (indexFrame < frame) {
+ if (indexFrame < (int)frame) {
TrackStatus &status = _videoTracks.back();
- while (status.chunkSearchOffset < _movieListEnd && indexFrame++ < frame) {
+ while (status.chunkSearchOffset < _movieListEnd && indexFrame++ < (int)frame) {
// There was no index entry for the desired frame, so an earlier one was decoded.
// We now have to sequentially decode frames until we get to the desired frame
handleNextPacket(status);