From c058c644a416c121928c7a9d0a98c37e1d986af5 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 24 Aug 2010 02:35:10 +0000 Subject: [PATCH] - MinGW did not like this assignment in the FluidSynth loader. SVN r2573 (trunk) --- src/sound/music_fluidsynth_mididevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound/music_fluidsynth_mididevice.cpp b/src/sound/music_fluidsynth_mididevice.cpp index 1e88af055..d50e236b7 100644 --- a/src/sound/music_fluidsynth_mididevice.cpp +++ b/src/sound/music_fluidsynth_mididevice.cpp @@ -667,7 +667,7 @@ bool FluidSynthMIDIDevice::LoadFluidSynth() } #endif - for (int i = 0; i < countof(imports); ++i) + for (size_t i = 0; i < countof(imports); ++i) { #ifdef _WIN32 FARPROC proc = GetProcAddress(FluidSynthDLL, imports[i].FuncName); @@ -679,7 +679,7 @@ bool FluidSynthMIDIDevice::LoadFluidSynth() Printf(TEXTCOLOR_RED"Failed to find %s in %s\n", imports[i].FuncName, FLUIDSYNTHLIB); fail++; } - *imports[i].FuncPointer = proc; + *imports[i].FuncPointer = (void *)proc; } if (fail == 0) {