From f2de7b4d310e0b8cc49b725d49ab03e94a106d1c Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 16 Sep 2008 13:09:22 +0000 Subject: [PATCH] Fix a warning --- rts/Linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Linker.c b/rts/Linker.c index e5a5ae6..69b21a2 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -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"); } -- 1.7.10.4