aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alThunk.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-10-11 12:24:28 -0700
committerChris Robinson <[email protected]>2010-10-11 12:24:28 -0700
commit4f81bce800c91bf0676cdff4267ce474d88ebf5a (patch)
treed29055116e568bc17ce58bfe6ee87cfd19280e66 /OpenAL32/Include/alThunk.h
parent932fcfa8bff4176a71c63d07376c810244b50cbb (diff)
Improve a macro to reference its parameter
Diffstat (limited to 'OpenAL32/Include/alThunk.h')
-rw-r--r--OpenAL32/Include/alThunk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alThunk.h b/OpenAL32/Include/alThunk.h
index 8fc0e005..902f00e5 100644
--- a/OpenAL32/Include/alThunk.h
+++ b/OpenAL32/Include/alThunk.h
@@ -12,7 +12,7 @@ extern "C" {
void alThunkInit(void);
void alThunkExit(void);
-ALuint alThunkAddEntry(ALvoid * ptr);
+ALuint alThunkAddEntry(ALvoid *ptr);
void alThunkRemoveEntry(ALuint index);
ALvoid *alThunkLookupEntry(ALuint index);
@@ -29,7 +29,7 @@ ALvoid *alThunkLookupEntry(ALuint index);
#define ALTHUNK_INIT()
#define ALTHUNK_EXIT()
#define ALTHUNK_ADDENTRY(p) ((ALuint)p)
-#define ALTHUNK_REMOVEENTRY(i)
+#define ALTHUNK_REMOVEENTRY(i) ((ALvoid)i)
#define ALTHUNK_LOOKUPENTRY(i) ((ALvoid*)(i))
#endif // (SIZEOF_VOIDP > SIZEOF_INT)