aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcFlanger.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcFlanger.c')
-rw-r--r--Alc/alcFlanger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcFlanger.c b/Alc/alcFlanger.c
index b3f09018..88e2d625 100644
--- a/Alc/alcFlanger.c
+++ b/Alc/alcFlanger.c
@@ -100,7 +100,7 @@ static ALboolean ALflangerState_DeviceUpdate(ALflangerState *state, ALCdevice *D
static ALvoid ALflangerState_Update(ALflangerState *state, ALCdevice *Device, const ALeffectslot *Slot)
{
- ALfloat frequency = Device->Frequency;
+ ALfloat frequency = (ALfloat)Device->Frequency;
ALfloat rate;
ALint phase;
ALuint it;