aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/sf2load.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/midi/sf2load.c')
-rw-r--r--Alc/midi/sf2load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c
index 233f7983..29a487f6 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -364,7 +364,7 @@ static void GenModList_insertGen(GenModList *self, const Generator *gen, ALboole
if(VECTOR_PUSH_BACK(self->gens, *gen) == AL_FALSE)
{
- ERR("Failed to insert generator (from %d elements)\n", VECTOR_SIZE(self->gens));
+ ERR("Failed to insert generator (from %lu elements)\n", VECTOR_SIZE(self->gens));
return;
}
}
@@ -393,7 +393,7 @@ static void GenModList_accumGen(GenModList *self, const Generator *gen)
if(VECTOR_PUSH_BACK(self->gens, *gen) == AL_FALSE)
{
- ERR("Failed to insert generator (from %d elements)\n", VECTOR_SIZE(self->gens));
+ ERR("Failed to insert generator (from %lu elements)\n", VECTOR_SIZE(self->gens));
return;
}
if(gen->mGenerator < 60)
@@ -416,7 +416,7 @@ static void GenModList_insertMod(GenModList *self, const Modulator *mod)
if(VECTOR_PUSH_BACK(self->mods, *mod) == AL_FALSE)
{
- ERR("Failed to insert modulator (from %d elements)\n", VECTOR_SIZE(self->mods));
+ ERR("Failed to insert modulator (from %lu elements)\n", VECTOR_SIZE(self->mods));
return;
}
}
@@ -436,7 +436,7 @@ static void GenModList_accumMod(GenModList *self, const Modulator *mod)
if(VECTOR_PUSH_BACK(self->mods, *mod) == AL_FALSE)
{
- ERR("Failed to insert modulator (from %d elements)\n", VECTOR_SIZE(self->mods));
+ ERR("Failed to insert modulator (from %lu elements)\n", VECTOR_SIZE(self->mods));
return;
}