From 5c0673049c0b4ebf3ac15c834e8d222d8c7ae5a2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 12 May 2018 03:31:58 -0700 Subject: Fix MSVC --- OpenAL32/Include/alMain.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 147ce08e..c02d6b47 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -297,10 +297,10 @@ inline float fast_roundf(float f) 8388608.0f /* 0x1.0p+23 */, -8388608.0f /* -0x1.0p+23 */ }; - uint32_t sign, expo; + ALuint sign, expo; union { - float f; - uint32_t i; + ALfloat f; + ALuint i; } conv; conv.f = f; -- cgit v1.2.3