diff options
author | Chris Robinson <[email protected]> | 2010-10-11 12:24:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-10-11 12:24:28 -0700 |
commit | 4f81bce800c91bf0676cdff4267ce474d88ebf5a (patch) | |
tree | d29055116e568bc17ce58bfe6ee87cfd19280e66 | |
parent | 932fcfa8bff4176a71c63d07376c810244b50cbb (diff) |
Improve a macro to reference its parameter
-rw-r--r-- | OpenAL32/Include/alThunk.h | 4 |
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) |