From 43b9027611a56d3ee87dc4523139127867efa9e6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 13 Nov 2012 15:12:46 -0800 Subject: [PATCH] Return the integer from fastf2i with MSVC --- OpenAL32/Include/alMain.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.4.GIT