- MinGW did not like this assignment in the FluidSynth loader.

SVN r2573 (trunk)
This commit is contained in:
Randy Heit 2010-08-24 02:35:10 +00:00
parent 3662ed4f27
commit c058c644a4
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{