summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alcChorus.c2
-rw-r--r--Alc/alcFlanger.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcChorus.c b/Alc/alcChorus.c
index cf414bbd..ab46243d 100644
--- a/Alc/alcChorus.c
+++ b/Alc/alcChorus.c
@@ -100,7 +100,7 @@ static ALboolean ALchorusState_DeviceUpdate(ALchorusState *state, ALCdevice *Dev
static ALvoid ALchorusState_Update(ALchorusState *state, ALCdevice *Device, const ALeffectslot *Slot)
{
- ALfloat frequency = Device->Frequency;
+ ALfloat frequency = (ALfloat)Device->Frequency;
ALfloat rate;
ALint phase;
ALuint it;
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;