diff options
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index aaa2b037..4380540f 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -85,7 +85,7 @@ DECLARE_THUNK(T, ALCbackend, ClockLatency, getClockLatency) \ DECLARE_THUNK(T, ALCbackend, void, lock) \ DECLARE_THUNK(T, ALCbackend, void, unlock) \ static void T##_ALCbackend_Delete(void *ptr) \ -{ T##_Delete(STATIC_UPCAST(T, ALCbackend, (ALCbackend*)ptr)); } \ +{ T##_Delete(static_cast<T*>(static_cast<ALCbackend*>(ptr))); } \ \ static const ALCbackendVtable T##_ALCbackend_vtable = { \ T##_ALCbackend_Destruct, \ |