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
This commit is contained in:
alkondratenko@gmail.com 2013-07-20 21:35:56 +00:00
parent d8e12e94ea
commit 7c2aa2f7c2

View File

@ -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);