mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
fix _InterlockedDecrement64
svn path=/branches/ros-amd64-bringup/; revision=34919
This commit is contained in:
parent
4a8be83925
commit
57fe9d163d
|
@ -481,7 +481,7 @@ static __inline__ __attribute__((always_inline)) long _InterlockedIncrement16(vo
|
|||
#if defined(_M_AMD64)
|
||||
static __inline__ __attribute__((always_inline)) long long _InterlockedDecrement64(volatile long long * const lpAddend)
|
||||
{
|
||||
return _InterlockedExchangeAdd(lpAddend, -1) - 1;
|
||||
return _InterlockedExchangeAdd64(lpAddend, -1) - 1;
|
||||
}
|
||||
|
||||
static __inline__ __attribute__((always_inline)) long long _InterlockedIncrement64(volatile long long * const lpAddend)
|
||||
|
|
Loading…
Reference in a new issue