From 7c2aa2f7c2cf901c17b9b9215224f725e798d1f2 Mon Sep 17 00:00:00 2001 From: "alkondratenko@gmail.com" Date: Sat, 20 Jul 2013 21:35:56 +0000 Subject: [PATCH] issue-546: fixed return type of Release_AtomicExchange on arm6+ git-svn-id: http://gperftools.googlecode.com/svn/trunk@224 6b5cf1ce-ec42-a296-1ba9-69fdba395a50 --- src/base/atomicops-internals-arm-v6plus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/atomicops-internals-arm-v6plus.h b/src/base/atomicops-internals-arm-v6plus.h index 0aa6fdb..a23153c 100644 --- a/src/base/atomicops-internals-arm-v6plus.h +++ b/src/base/atomicops-internals-arm-v6plus.h @@ -110,7 +110,7 @@ inline Atomic32 Acquire_AtomicExchange(volatile Atomic32* ptr, return old_value; } -inline Atomic64 Release_AtomicExchange(volatile Atomic32* ptr, +inline Atomic32 Release_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value) { MemoryBarrier(); return NoBarrier_AtomicExchange(ptr, new_value);