]> granicus.if.org Git - libatomic_ops/commitdiff
2008-10-20 Hans Boehm <Hans.Boehm@hp.com> (really Andrew Agno)
authorhboehm <hboehm>
Mon, 20 Oct 2008 23:17:05 +0000 (23:17 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Jul 2011 12:03:24 +0000 (16:03 +0400)
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_int_fetch_and_add_full):
fix return type.

ChangeLog
src/atomic_ops/sysdeps/gcc/x86_64.h

index 5844daddae979f1e1504cbe595abe415bce5e896..416372c65c7b407cdde063015e73042eb2f61c48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-20 Hans Boehm <Hans.Boehm@hp.com>  (really Andrew Agno)
+       * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_int_fetch_and_add_full):
+       fix return type.
+
 2008-08-21 Hans Boehm <Hans.Boehm@hp.com>
        * config.guess, config.sub, configure: Regenerate/replace.
        Use autoconf 2.61, automake 1.9.6.
index 91e99e62040394e7fa122f55fc1e3c579c8530e0..594556a2b419afca23edea3b29c52e011d784d60 100644 (file)
@@ -96,7 +96,7 @@ AO_short_fetch_and_add_full (volatile unsigned short *p, unsigned short incr)
 
 #define AO_HAVE_short_fetch_and_add_full
 
-AO_INLINE unsigned short
+AO_INLINE unsigned int
 AO_int_fetch_and_add_full (volatile unsigned int *p, unsigned int incr)
 {
   unsigned int result;