Skip to content
Snippets Groups Projects
Commit 91e97b84 authored by zeliard's avatar zeliard
Browse files

fix missing pointers on gpr_atm_acq_cas on x64

parent 00b65853
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment