aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-11-13 15:12:46 -0800
committerChris Robinson <[email protected]>2012-11-13 15:12:46 -0800
commit43b9027611a56d3ee87dc4523139127867efa9e6 (patch)
tree222fbdfc6e7ccafb2e37e406b0989984d8089c0f /OpenAL32/Include/alMain.h
parent40ea4f4b46ec2828aeb8244d6cab16a65c23aef7 (diff)
Return the integer from fastf2i with MSVC
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 00512997..ec44bdee 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -368,6 +368,7 @@ static __inline ALint fastf2i(ALfloat f)
ALint i;
__asm fld f
__asm fistp i
+ return i;
#else
return (ALint)f;
#endif