summaryrefslogtreecommitdiffstats
path: root/Alc/alcModulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcModulator.c')
-rw-r--r--Alc/alcModulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcModulator.c b/Alc/alcModulator.c
index 55c6740e..8244b454 100644
--- a/Alc/alcModulator.c
+++ b/Alc/alcModulator.c
@@ -139,7 +139,7 @@ static ALboolean ModulatorDeviceUpdate(ALeffectState *effect, ALCdevice *Device)
state->Gain[index] = 0.0f;
for(index = 0;index < Device->NumChan;index++)
{
- Channel chan = Device->Speaker2Chan[index];
+ enum Channel chan = Device->Speaker2Chan[index];
state->Gain[chan] = 1.0f;
}