diff options
author | Chris Robinson <[email protected]> | 2012-01-01 15:00:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-01 15:00:03 -0800 |
commit | 886f874ff3025fac7bd07b9439f8ecc3b78fcc36 (patch) | |
tree | 709787f55a871e0c13dd668ae7c93451dbbba8c3 /OpenAL32/alAuxEffectSlot.c | |
parent | 466cac328f15f3538c895208bfe7ea14f3923ffc (diff) |
Use a proper typedef for handling atomic pointer swaps
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index c8a12d33..03a6218b 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -570,7 +570,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL alSetError(Context, AL_OUT_OF_MEMORY); return; } - State = ExchangePtr((void**)&EffectSlot->EffectState, State); + State = ExchangePtr((XchgPtr*)&EffectSlot->EffectState, State); if(!effect) memset(&EffectSlot->effect, 0, sizeof(EffectSlot->effect)); |