aboutsummaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/atomic.h
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2015-03-17 12:09:30 +0900
committerMike Hommey <mh@glandium.org>2015-03-17 12:09:30 +0900
commitc9db461ffb608ad32aed0e34663ae58a992e1003 (patch)
tree72b18267c39d3ce3133aa6822a85a9d3632eb709 /include/jemalloc/internal/atomic.h
parent04211e226628c41da4b3804ba411b5dd4b3a02ab (diff)
downloadjemalloc-c9db461ffb608ad32aed0e34663ae58a992e1003.tar.gz
Use InterlockedCompareExchange instead of non-existing InterlockedCompareExchange32
Diffstat (limited to 'include/jemalloc/internal/atomic.h')
-rw-r--r--include/jemalloc/internal/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/atomic.h b/include/jemalloc/internal/atomic.h
index 0d33065..522dd2a 100644
--- a/include/jemalloc/internal/atomic.h
+++ b/include/jemalloc/internal/atomic.h
@@ -457,7 +457,7 @@ atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s)
{
uint32_t o;
- o = InterlockedCompareExchange32(p, s, c);
+ o = InterlockedCompareExchange(p, s, c);
return (o != c);
}