aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-30 12:29:53 -0700
committerChris Robinson <[email protected]>2013-10-30 12:29:53 -0700
commit7460dd1b0870d55f18108c5e69d93b03e0e4aa95 (patch)
tree053685a0b4d3f253781494995090e942533dd043
parent90a51d7897a88c2ca36fe68fdb510af467c015b2 (diff)
Prefer long as a 64-bit type instead of long long
-rw-r--r--OpenAL32/Include/alMain.h4
1 files 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