blob: 64420d240f3005815986dda54937639c802c0151 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Index: intern/AUD_Buffer.cpp
===================================================================
--- intern/AUD_Buffer.cpp (revision 45919)
+++ intern/AUD_Buffer.cpp (working copy)
@@ -33,8 +33,17 @@
#include <cstring>
#include <cstdlib>
-#define AUD_ALIGN(a) (a + 16 - ((long)a & 15))
+#if defined(_WIN64)
+# ifdef __MINGW64__
+# include <basetsd.h>
+# endif
+typedef unsigned __int64 uint_ptr;
+#else
+typedef unsigned long uint_ptr;
+#endif
+#define AUD_ALIGN(a) (a + 16 - ((uint_ptr)a & 15))
+
AUD_Buffer::AUD_Buffer(int size)
{
m_size = size;
|