aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r--al/buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp
index 4f0bcf8c..ad74a7f7 100644
--- a/al/buffer.cpp
+++ b/al/buffer.cpp
@@ -1463,7 +1463,7 @@ START_API_FUNC
else switch(param)
{
case AL_BUFFER_CALLBACK_FUNCTION_SOFT:
- *value = reinterpret_cast<void*>(albuf->mCallback);
+ *value = al::bit_cast<void*>(albuf->mCallback);
break;
case AL_BUFFER_CALLBACK_USER_PARAM_SOFT:
*value = albuf->mUserData;