From cff454d5e77abfa1d62aa5d0f0d03643a08dedab Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 10 Jan 2017 03:23:31 +0000 Subject: VIDEO: Fix Two Further Signed vs. Unsigned Compiler Warnings. --- video/avi_decoder.cpp | 4 ++-- 1 file 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); -- cgit v1.2.3