mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Fix Windows build
This commit is contained in:
parent
abc89d7d6c
commit
66d916a34a
2 changed files with 2 additions and 2 deletions
|
@ -422,7 +422,7 @@ new_fluid_waveout_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth)
|
|||
|
||||
if(errCode != MMSYSERR_NOERROR)
|
||||
{
|
||||
FLUID_LOG(FLUID_ERR, "Failed to open waveOut device: '%s'", fluid_waveout_error());
|
||||
FLUID_LOG(FLUID_ERR, "Failed to open waveOut device: '%s'", fluid_waveout_error(errCode));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -1697,7 +1697,7 @@ fluid_long_long_t fluid_file_tell(FILE* f)
|
|||
// not thread-safe!
|
||||
char* fluid_get_windows_error(void)
|
||||
{
|
||||
static const char err[1024];
|
||||
static char err[1024];
|
||||
|
||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue