Commit f2de7b4d authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix a warning

parent bf7e78fa
......@@ -1633,7 +1633,7 @@ static int ocAllocateSymbolExtras( ObjectCode* oc, int count, int first )
return 0;
}
#ifdef x86_64_HOST_ARCH
if (oc->symbol_extras > 0x80000000)
if ((StgWord)oc->symbol_extras > 0x80000000)
{
barf("mmap() returned memory outside 2Gb");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment