Cast oldval to the same type as ret to avoid warnings when
including atomic.h.
2009-11-22 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
by casting oldval to int.
+2009-11-22 Carlos O'Donell <carlos@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
+ by casting oldval to int.
+
2009-11-15 Carlos O'Donell <carlos@codesourcery.com>
[BZ #6676]
int ret; \
ret = atomic_compare_and_exchange_val_acq(mem, newval, oldval); \
/* Return 1 if it was already acquired. */ \
- (ret != oldval); \
+ (ret != (int)oldval); \
})
#else
# error __ASSUME_LWS_CAS is required to build glibc.