]> 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>
Fri, 11 Jan 2013 18:48:21 +0000 (22:48 +0400)
commitfbed7d9bb0913bd1aa454d5c0e505ca325a414c2
tree8a16fd57d82055f5a37fe9633911f2decf9c5781
parenta6846b74d51639c6c62096d0f9019e76643f734e
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