diff options
author | Chris Robinson <[email protected]> | 2018-11-15 06:48:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 06:48:00 -0800 |
commit | a3b644374b01437d69368ce6c144ab72948ef9f9 (patch) | |
tree | 7df4fbb67b0db934fccc701655379c8bc838473f /OpenAL32 | |
parent | 245b7ff0b41ebd43f3c1c53dd90ab0bf358e4c06 (diff) |
Add a missing cast for MSVC
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alSource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<ALvoiceProps*>(ATOMIC_EXCHANGE_PTR(&voice->Update, props, + almemory_order_acq_rel)); if(props) { /* If there was an unused update container, put it back in the |