[Scummvm-git-logs] scummvm master -> cff454d5e77abfa1d62aa5d0f0d03643a08dedab

digitall dgturner at iee.org
Tue Jan 10 04:17:16 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
cff454d5e7 VIDEO: Fix Two Further Signed vs. Unsigned Compiler Warnings.


Commit: cff454d5e77abfa1d62aa5d0f0d03643a08dedab
    https://github.com/scummvm/scummvm/commit/cff454d5e77abfa1d62aa5d0f0d03643a08dedab
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-10T03:23:31Z

Commit Message:
VIDEO: Fix Two Further Signed vs. Unsigned Compiler Warnings.

Changed paths:
    video/avi_decoder.cpp


diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index 32aa9f9..ae30ec0 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);





More information about the Scummvm-git-logs mailing list