mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- MinGW did not like this assignment in the FluidSynth loader.
SVN r2573 (trunk)
This commit is contained in:
parent
3662ed4f27
commit
c058c644a4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue