From 4126ccf7441d4dd583fa37f4553571046a803040 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 6 Nov 2014 23:02:39 -0800 Subject: Use SZFMT for printing size_t --- Alc/midi/sf2load.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc') 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; } -- cgit v1.2.3