diff options
-rw-r--r-- | rts/Linker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 6085f9ce14..7a1f550a4b 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -2461,8 +2461,8 @@ addSection ( ObjectCode* oc, SectionKind kind, s->next = oc->sections; oc->sections = s; - IF_DEBUG(linker, debugBelch("addSection: %p-%p (size %" FMT_Int "), kind %d\n", - start, ((char*)end)-1, (StgInt)end - (StgInt)start + 1, kind )); + IF_DEBUG(linker, debugBelch("addSection: %p-%p (size %lld), kind %d\n", + start, ((char*)end)-1, ((long long)(size_t)end) - ((long long)(size_t)start) + 1, kind )); } |