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

digitall 547637+digitall at users.noreply.github.com
Tue Jun 16 21:04:58 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:
e086dbfcd5 AUDIO: Fix Signed vs. Unsigned Comparison Compiler Warning in Fluidsynth


Commit: e086dbfcd56212309486d9fea584ee9a8dc41511
    https://github.com/scummvm/scummvm/commit/e086dbfcd56212309486d9fea584ee9a8dc41511
Author: D G Turner (digitall at scummvm.org)
Date: 2020-06-16T22:03:04+01:00

Commit Message:
AUDIO: Fix Signed vs. Unsigned Comparison Compiler Warning in Fluidsynth

Changed paths:
    audio/softsynth/fluidsynth.cpp


diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp
index 3360748a77..fc982268f1 100644
--- a/audio/softsynth/fluidsynth.cpp
+++ b/audio/softsynth/fluidsynth.cpp
@@ -136,7 +136,7 @@ static void *SoundFontMemLoader_open(const char *filename) {
 }
 
 static int SoundFontMemLoader_read(void *buf, int count, void *handle) {
-	return ((Common::SeekableReadStream *) handle)->read(buf, count) == count ? FLUID_OK : FLUID_FAILED;
+	return ((Common::SeekableReadStream *) handle)->read(buf, count) == (uint32)count ? FLUID_OK : FLUID_FAILED;
 }
 
 static int SoundFontMemLoader_seek(void *handle, long offset, int origin) {




More information about the Scummvm-git-logs mailing list