From 7460dd1b0870d55f18108c5e69d93b03e0e4aa95 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 30 Oct 2013 12:29:53 -0700 Subject: Prefer long as a 64-bit type instead of long long --- OpenAL32/Include/alMain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 64678b38..b1a3f218 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -57,10 +57,10 @@ typedef ptrdiff_t ALsizeiptrEXT; #ifndef U64 #if defined(_MSC_VER) #define U64(x) ((ALuint64)(x##ui64)) -#elif SIZEOF_LONG_LONG == 8 -#define U64(x) ((ALuint64)(x##ull)) #elif SIZEOF_LONG == 8 #define U64(x) ((ALuint64)(x##ul)) +#elif SIZEOF_LONG_LONG == 8 +#define U64(x) ((ALuint64)(x##ull)) #endif #endif -- cgit v1.2.3