diff options
-rw-r--r-- | Alc/panning.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index e69b3d2d..c1e42dce 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -196,7 +196,8 @@ typedef struct ChannelMap { static void SetChannelMap(ALCdevice *device, const ChannelMap *chanmap, size_t count, ALfloat ambiscale, ALboolean isfuma) { - size_t i, j, k; + size_t j, k; + ALuint i; device->AmbiScale = ambiscale; for(i = 0;i < MAX_OUTPUT_CHANNELS && device->ChannelName[i] != InvalidChannel;i++) @@ -230,7 +231,7 @@ static void SetChannelMap(ALCdevice *device, const ChannelMap *chanmap, size_t c } } if(j == count) - ERR("Failed to match %s channel ("SZFMT") in config\n", GetLabelFromChannel(device->ChannelName[i]), i); + ERR("Failed to match %s channel (%u) in config\n", GetLabelFromChannel(device->ChannelName[i]), i); } device->NumChannels = i; } |