From 5254305f6aefd027ecb1c1cacaaba2931f0cd624 Mon Sep 17 00:00:00 2001 From: hboehm Date: Mon, 20 Oct 2008 23:17:05 +0000 Subject: [PATCH] 2008-10-20 Hans Boehm (really Andrew Agno) * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_int_fetch_and_add_full): fix return type. --- ChangeLog | 4 ++++ src/atomic_ops/sysdeps/gcc/x86_64.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5844dad..416372c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-20 Hans Boehm (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 * config.guess, config.sub, configure: Regenerate/replace. Use autoconf 2.61, automake 1.9.6. diff --git a/src/atomic_ops/sysdeps/gcc/x86_64.h b/src/atomic_ops/sysdeps/gcc/x86_64.h index 91e99e6..594556a 100644 --- a/src/atomic_ops/sysdeps/gcc/x86_64.h +++ b/src/atomic_ops/sysdeps/gcc/x86_64.h @@ -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; -- 2.40.0