diff options
author | Chris Robinson <[email protected]> | 2018-05-12 03:31:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-05-12 03:31:58 -0700 |
commit | 5c0673049c0b4ebf3ac15c834e8d222d8c7ae5a2 (patch) | |
tree | 6ec4ebf07ffdf0b45fdc9e87eb2966df7100eac9 | |
parent | f240952bcc6edc9a36a40bc82b97e19a551b4ddf (diff) |
Fix MSVC
-rw-r--r-- | OpenAL32/Include/alMain.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |