summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/stdatomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdatomic.h b/include/stdatomic.h
index 4d03bb9..ceec160 100644
--- a/include/stdatomic.h
+++ b/include/stdatomic.h
@@ -123,7 +123,7 @@ enum memory_order {
#if defined(__CLANG_ATOMICS) || defined(__GNUC_ATOMICS)
#define atomic_is_lock_free(obj) \
- __atomic_is_lock_free(sizeof((obj)->__val), &(obj)->val)
+ __atomic_is_lock_free(sizeof((obj)->__val), &(obj)->__val)
#else
#define atomic_is_lock_free(obj) \
((void)(obj), sizeof((obj)->__val) <= sizeof(void *))
OpenPOWER on IntegriCloud