aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 76c49d76..b4b1b68e 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -203,15 +203,15 @@ static ALvoid SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[OUTPU
if(min != i)
{
ALfloat tmpf;
- ALint tmpi;
+ Channel tmpc;
tmpf = SpeakerAngle[i];
SpeakerAngle[i] = SpeakerAngle[min];
SpeakerAngle[min] = tmpf;
- tmpi = Speaker2Chan[i];
+ tmpc = Speaker2Chan[i];
Speaker2Chan[i] = Speaker2Chan[min];
- Speaker2Chan[min] = tmpi;
+ Speaker2Chan[min] = tmpc;
}
}
}