aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-17 01:29:23 -0800
committerChris Robinson <[email protected]>2012-02-17 01:29:23 -0800
commit75aa96a4a67e205e82c7579183deb7541e94234d (patch)
tree824bbe9baaf79677e82e270fbe001d60ec9d228b /Alc/ALu.c
parent10257f485a77d0b5ece433bec403dc2f8a57a8c3 (diff)
Silence an MSVC warning
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 09cf54db..0542cf65 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -794,7 +794,7 @@ static __inline ALint aluF2I(ALfloat val)
{
if(val > 1.0f) return 2147483647;
if(val < -1.0f) return -2147483647-1;
- return fastf2i(val*2147483647.0);
+ return fastf2i((ALfloat)(val*2147483647.0));
}
static __inline ALuint aluF2UI(ALfloat val)
{ return aluF2I(val)+2147483648u; }