[Scummvm-git-logs] scummvm master -> 20fc17e3da9487a5bbc894b3254f21729a5d0f53

digitall noreply at scummvm.org
Sat Dec 11 21:20:00 UTC 2021


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:
20fc17e3da SCUMM: DiMUSE: Fix Signed vs. Unsigned Comparison GCC Warning


Commit: 20fc17e3da9487a5bbc894b3254f21729a5d0f53
    https://github.com/scummvm/scummvm/commit/20fc17e3da9487a5bbc894b3254f21729a5d0f53
Author: D G Turner (digitall at scummvm.org)
Date: 2021-12-11T21:19:13Z

Commit Message:
SCUMM: DiMUSE: Fix Signed vs. Unsigned Comparison GCC Warning

Changed paths:
    engines/scumm/imuse_digi/dimuse_tracks.cpp


diff --git a/engines/scumm/imuse_digi/dimuse_tracks.cpp b/engines/scumm/imuse_digi/dimuse_tracks.cpp
index 01517b5bdb..79a81db34a 100644
--- a/engines/scumm/imuse_digi/dimuse_tracks.cpp
+++ b/engines/scumm/imuse_digi/dimuse_tracks.cpp
@@ -155,7 +155,7 @@ void IMuseDigital::tracksCallback() {
 
 	// If we leave the number of queued streams unbounded, we fill the queue with streams faster than
 	// we can play them: this leads to a very noticeable audio latency and desync with the graphics.
-	if (_internalMixer->_stream->numQueuedStreams() < _maxQueuedStreams) {
+	if ((int)_internalMixer->_stream->numQueuedStreams() < _maxQueuedStreams) {
 		if (!_isEarlyDiMUSE)
 			dispatchPredictFirstStream();
 




More information about the Scummvm-git-logs mailing list