From a3b644374b01437d69368ce6c144ab72948ef9f9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 06:48:00 -0800 Subject: Add a missing cast for MSVC --- OpenAL32/alSource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenAL32/alSource.cpp') diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index 158290ef..93b0cd88 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -3229,7 +3229,8 @@ static void UpdateSourceProps(ALsource *source, ALvoice *voice, ALsizei num_send } /* Set the new container for updating internal parameters. */ - props = ATOMIC_EXCHANGE_PTR(&voice->Update, props, almemory_order_acq_rel); + props = static_cast(ATOMIC_EXCHANGE_PTR(&voice->Update, props, + almemory_order_acq_rel)); if(props) { /* If there was an unused update container, put it back in the -- cgit v1.2.3