diff options
author | Chris Robinson <[email protected]> | 2014-10-30 12:27:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-10-30 12:27:59 -0700 |
commit | 0e09e779f9268a177a5595572971e5497a3e412a (patch) | |
tree | f09d32da5f301ed68cfa6053c674d4e009103801 /Alc | |
parent | 3585021a18e6a7ede1162b68c7a0cf6e6a9f45fd (diff) |
Use %zu (C99) for printing size_t
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/midi/sf2load.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index a4c5d36d..23210497 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 %lu elements)\n", VECTOR_SIZE(self->gens)); + ERR("Failed to insert generator (from %zu 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 %lu elements)\n", VECTOR_SIZE(self->gens)); + ERR("Failed to insert generator (from %zu 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 %lu elements)\n", VECTOR_SIZE(self->mods)); + ERR("Failed to insert modulator (from %zu 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 %lu elements)\n", VECTOR_SIZE(self->mods)); + ERR("Failed to insert modulator (from %zu elements)\n", VECTOR_SIZE(self->mods)); return; } |