aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/sf2load.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-06 23:02:39 -0800
committerChris Robinson <[email protected]>2014-11-06 23:02:39 -0800
commit4126ccf7441d4dd583fa37f4553571046a803040 (patch)
treee9003f1aa9abca5b75718e2f2e95fc3612c59b10 /Alc/midi/sf2load.c
parent61a56ce120be828e9076060db1958328a3118d83 (diff)
Use SZFMT for printing size_t
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 23210497..e9547462 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -363,7 +363,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 %zu elements)\n", VECTOR_SIZE(self->gens));
+ ERR("Failed to insert generator (from "SZFMT" elements)\n", VECTOR_SIZE(self->gens));
return;
}
}
@@ -391,7 +391,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 %zu elements)\n", VECTOR_SIZE(self->gens));
+ ERR("Failed to insert generator (from "SZFMT" elements)\n", VECTOR_SIZE(self->gens));
return;
}
if(gen->mGenerator < 60)
@@ -413,7 +413,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 %zu elements)\n", VECTOR_SIZE(self->mods));
+ ERR("Failed to insert modulator (from "SZFMT" elements)\n", VECTOR_SIZE(self->mods));
return;
}
}
@@ -432,7 +432,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 %zu elements)\n", VECTOR_SIZE(self->mods));
+ ERR("Failed to insert modulator (from "SZFMT" elements)\n", VECTOR_SIZE(self->mods));
return;
}