]> granicus.if.org Git - libatomic_ops/commit
Fix return type of AO_char/short/int_load_read() in read_ordered.h
authorIvan Maidanski <ivmai@mail.ru>
Mon, 7 Jan 2013 15:24:02 +0000 (19:24 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 7 Jan 2013 15:24:02 +0000 (19:24 +0400)
commit0e52f72de2c15a262fc6cc1b0dc50536a616b8e9
tree596de634cedbc806982c7b545fd7064450022fbe
parenta0331cba3659b81b3f071c7083b84bb94fc3b212
Fix return type of AO_char/short/int_load_read() in read_ordered.h

* src/atomic_ops/sysdeps/read_ordered.h (AO_char_load_read,
AO_short_load_read, AO_int_load_read): Change return type (and the
type of "result" local variable) from AO_t to the type matching the
name of the function (i.e., unsigned char/short/int, respectively).
src/atomic_ops/sysdeps/read_ordered.h