aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/bits/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/bits/atomic.h')
-rw-r--r--sysdeps/sparc/sparc64/bits/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc64/bits/atomic.h b/sysdeps/sparc/sparc64/bits/atomic.h
index bb3c91d8d0..4df3b2556a 100644
--- a/sysdeps/sparc/sparc64/bits/atomic.h
+++ b/sysdeps/sparc/sparc64/bits/atomic.h
@@ -47,10 +47,10 @@ typedef uintmax_t uatomic_max_t;
#define __arch_compare_and_exchange_val_8_acq(mem, newval, oldval) \
- (abort (), 0)
+ (abort (), (__typeof (*mem)) 0)
#define __arch_compare_and_exchange_val_16_acq(mem, newval, oldval) \
- (abort (), 0)
+ (abort (), (__typeof (*mem)) 0)
#define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \
({ \