diff options
author | 2015-04-22 13:01:08 +0900 | |
---|---|---|
committer | 2015-04-22 13:01:08 +0900 | |
commit | 91e97b84cc0fd37362f4b80ecd5492812050a03f (patch) | |
tree | 652e98c6c622235bb0648055a3555c7cd6971f93 /include/grpc/support/atm_win32.h | |
parent | 00b658530d94c5fd827bec793e3448838a6221f1 (diff) |
fix missing pointers on gpr_atm_acq_cas on x64
Diffstat (limited to 'include/grpc/support/atm_win32.h')
-rw-r--r-- | include/grpc/support/atm_win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/atm_win32.h b/include/grpc/support/atm_win32.h index 4a21b5b547..dcba4d433d 100644 --- a/include/grpc/support/atm_win32.h +++ b/include/grpc/support/atm_win32.h @@ -73,7 +73,7 @@ static __inline int gpr_atm_no_barrier_cas(gpr_atm *p, gpr_atm o, gpr_atm n) { static __inline int gpr_atm_acq_cas(gpr_atm *p, gpr_atm o, gpr_atm n) { #ifdef GPR_ARCH_64 - return o == (gpr_atm)InterlockedCompareExchangeAcquire64((volatile LONGLONG) p, + return o == (gpr_atm)InterlockedCompareExchangeAcquire64((volatile LONGLONG *) p, (LONGLONG) n, (LONGLONG) o); #else return o == (gpr_atm)InterlockedCompareExchangeAcquire((volatile LONG *) p, |