diff options
Diffstat (limited to 'Alc/midi')
-rw-r--r-- | Alc/midi/sf2load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index 169a5189..e6389811 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -1019,8 +1019,8 @@ static void processInstrument(ALfontsound ***sounds, ALsizei *sounds_size, ALCco temp = realloc(*sounds, (zone_end-zone + *sounds_size)*sizeof((*sounds)[0])); if(!temp) { - ERR("Failed reallocating fontsound storage to %ld elements (from %d)\n", - (zone_end-zone + *sounds_size), *sounds_size); + ERR("Failed reallocating fontsound storage to %d elements (from %d)\n", + (ALsizei)(zone_end-zone) + *sounds_size, *sounds_size); return; } *sounds = temp; |