aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-16 09:37:55 -0800
committerChris Robinson <[email protected]>2017-01-16 09:37:55 -0800
commite9009968fbfe3f89b308f6f2880e3bbafbb27884 (patch)
tree3c86677269412a217d320dbcfdb3a9e1e12ce365 /Alc/panning.c
parentf1f93a593a62b1a06f900d809628b5678eab4d8b (diff)
More ALsizei, with the B-Format decoder
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 06c0d9cc..e1ad6d0b 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -379,7 +379,7 @@ static void SetChannelMap(const enum Channel *devchans, ChannelConfig *ambicoeff
static bool MakeSpeakerMap(ALCdevice *device, const AmbDecConf *conf, ALuint speakermap[MAX_OUTPUT_CHANNELS])
{
- ALuint i;
+ ALsizei i;
for(i = 0;i < conf->NumSpeakers;i++)
{
@@ -659,7 +659,7 @@ static void InitCustomPanning(ALCdevice *device, const AmbDecConf *conf, const A
else if(conf->CoeffScale == ADS_FuMa)
coeff_scale = FuMa2N3DScale;
- for(i = 0;i < (ALsizei)conf->NumSpeakers;i++)
+ for(i = 0;i < conf->NumSpeakers;i++)
{
ALsizei chan = speakermap[i];
ALfloat gain;