summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/posix/OSMem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c
index b2a0bcfafa..30d9981f16 100644
--- a/rts/posix/OSMem.c
+++ b/rts/posix/OSMem.c
@@ -364,7 +364,7 @@ void osBindMBlocksToNode(
{
#if HAVE_LIBNUMA
int ret;
- StgWord mask = 0;
+ unsigned long mask = 0;
mask |= 1 << node;
if (RtsFlags.GcFlags.numa) {
ret = mbind(addr, (unsigned long)size,