]> granicus.if.org Git - libatomic_ops/commit
Fix return type of AO_int_X primitives defined in ao_t_is_int header
authorIvan Maidanski <ivmai@mail.ru>
Sun, 13 Jan 2013 18:42:52 +0000 (22:42 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 13 Jan 2013 18:42:52 +0000 (22:42 +0400)
commit3e9fc4f49e415dd892b3749913e40ea768df13fc
tree2aa3bb2490f46b8da1d77e91c52a30e4c0d97312
parent47b77ccdf828d7a9385f22e7da50b1f37b56cd15
Fix return type of AO_int_X primitives defined in ao_t_is_int header

* src/atomic_ops/sysdeps/ao_t_is_int.h
(AO_int_fetch_compare_and_swap_full,
AO_int_fetch_compare_and_swap_acquire,
AO_int_fetch_compare_and_swap_release,
AO_int_fetch_compare_and_swap_write,
AO_int_fetch_compare_and_swap_read, AO_int_fetch_compare_and_swap,
AO_int_load_acquire, AO_int_fetch_and_add_full,
AO_int_fetch_and_add1_acquire, AO_int_fetch_and_add1_release,
AO_int_fetch_and_sub1_acquire, AO_int_fetch_and_sub1_release): Cast
result to unsigned int instead of signed int.
src/atomic_ops/sysdeps/ao_t_is_int.h