diff options
Diffstat (limited to 'sysdeps/ia64/bits/atomic.h')
-rw-r--r-- | sysdeps/ia64/bits/atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ia64/bits/atomic.h b/sysdeps/ia64/bits/atomic.h index b6522b3272..ccbd4f81ae 100644 --- a/sysdeps/ia64/bits/atomic.h +++ b/sysdeps/ia64/bits/atomic.h @@ -60,10 +60,10 @@ typedef uintmax_t uatomic_max_t; (long) (newval))) #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) \ __sync_val_compare_and_swap_si ((int *) (mem), (int) (long) (oldval), \ |