aboutsummaryrefslogtreecommitdiffstats
path: root/compat/atomics/win32
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-04-02 00:57:17 -0300
committerJames Almer <jamrial@gmail.com>2017-04-02 00:57:17 -0300
commit7942907878dd4c263ba7431067c33ce6b5d53ceb (patch)
treead43093070195495a764fb907a1418fa1c0b71a8 /compat/atomics/win32
parentcbd25029399873ef6ff2c7344efbfb0c74b12e37 (diff)
downloadffmpeg-7942907878dd4c263ba7431067c33ce6b5d53ceb.tar.gz
compat/atomics: fix atomic_fetch_xor
Diffstat (limited to 'compat/atomics/win32')
-rw-r--r--compat/atomics/win32/stdatomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/atomics/win32/stdatomic.h b/compat/atomics/win32/stdatomic.h
index 4cbba9c78d..fa7ef51ea5 100644
--- a/compat/atomics/win32/stdatomic.h
+++ b/compat/atomics/win32/stdatomic.h
@@ -159,7 +159,7 @@ static inline int atomic_compare_exchange_strong(intptr_t *object, intptr_t *exp
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
- atomic_fetch_sub(object, operand)
+ atomic_fetch_xor(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)