summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/__sync_fetch_and_add_4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompiler_rt/__sync_fetch_and_add_4.c')
-rw-r--r--lib/libcompiler_rt/__sync_fetch_and_add_4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcompiler_rt/__sync_fetch_and_add_4.c b/lib/libcompiler_rt/__sync_fetch_and_add_4.c
index 3c11a3b..6126cfa 100644
--- a/lib/libcompiler_rt/__sync_fetch_and_add_4.c
+++ b/lib/libcompiler_rt/__sync_fetch_and_add_4.c
@@ -1,6 +1,6 @@
/* $FreeBSD$ */
#define NAME __sync_fetch_and_add_4
-#define TYPE uint32_t
+#define TYPE int32_t
#define FETCHADD(x, y) atomic_fetchadd_32(x, y)
#include "__sync_fetch_and_op_n.h"
OpenPOWER on IntegriCloud