aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcChorus.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-22 00:07:23 -0700
committerChris Robinson <[email protected]>2013-05-22 00:07:23 -0700
commit2eb8a520d434f002928798fe2e08a6ff173dfa01 (patch)
tree9648a5d2ee050cbf71e17a35435b5bb86e95960c /Alc/alcChorus.c
parent0a07ed14c27a3b4269c024dc4827483d33b9c059 (diff)
Add casts to silence MSVC
Diffstat (limited to 'Alc/alcChorus.c')
-rw-r--r--Alc/alcChorus.c2
1 files changed, 1 insertions, 1 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;