[Scummvm-git-logs] scummvm master -> 92b28e00ad6c7b21a46010304b5a722be37dd465

sluicebox 22204938+sluicebox at users.noreply.github.com
Sat Apr 11 10:32:15 UTC 2020


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:
92b28e00ad AUDIO: Fix compiler warning


Commit: 92b28e00ad6c7b21a46010304b5a722be37dd465
    https://github.com/scummvm/scummvm/commit/92b28e00ad6c7b21a46010304b5a722be37dd465
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2020-04-11T03:30:35-07:00

Commit Message:
AUDIO: Fix compiler warning

Changed paths:
    audio/decoders/aiff.cpp


diff --git a/audio/decoders/aiff.cpp b/audio/decoders/aiff.cpp
index 8a9cbd0a96..b475d7a6af 100644
--- a/audio/decoders/aiff.cpp
+++ b/audio/decoders/aiff.cpp
@@ -160,7 +160,7 @@ RewindableAudioStream *makeAIFFStream(Common::SeekableReadStream *stream, Dispos
 		}
 
 		uint32 seekPos = pos + length;
-		if (seekPos < stream->size()) {
+		if (seekPos < (uint32)stream->size()) {
 			seekPos += (length & 1); // ensure we're word-aligned
 		}
 		stream->seek(seekPos);




More information about the Scummvm-git-logs mailing list