Re: [FFmpeg-devel] [PATCH v2] atomics: Fix the win32 atomic_exchange function

2021-04-03 Thread James Almer
On 4/3/2021 6:53 PM, Martin Storsjö wrote: This fixes building with MSVC after a2a38b160620d91bc3f895dadc4501c589998b9c. Remove the stray semicolon, and add casts for the input argument (which is an intptr_t*) to the right type (void *volatile *). --- Changed to use PVOID. --- compat/atomics/w

[FFmpeg-devel] [PATCH v2] atomics: Fix the win32 atomic_exchange function

2021-04-03 Thread Martin Storsjö
This fixes building with MSVC after a2a38b160620d91bc3f895dadc4501c589998b9c. Remove the stray semicolon, and add casts for the input argument (which is an intptr_t*) to the right type (void *volatile *). --- Changed to use PVOID. --- compat/atomics/win32/stdatomic.h | 2 +- 1 file changed, 1 ins