diff options
author | Chris Robinson <[email protected]> | 2014-09-30 21:47:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-30 21:47:22 -0700 |
commit | d82d6c701ddb1c392606929695d6b96cfa70e3c1 (patch) | |
tree | cc2f9da6a82aed4dd5b3a3beb0d2ead776c66d8b /Alc/midi/sf2load.c | |
parent | 4d36ef65b2ec1cd3122bf9ee615df452f003d014 (diff) |
Use size_t for the vector size and capacity
Diffstat (limited to 'Alc/midi/sf2load.c')
-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 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; } |