summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/linker/Elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c
index a9c8a2fd8a..cc8d2c3309 100644
--- a/rts/linker/Elf.c
+++ b/rts/linker/Elf.c
@@ -921,8 +921,8 @@ ocGetNames_ELF ( ObjectCode* oc )
CHECK(common_used <= common_size);
IF_DEBUG(linker,
- debugBelch("COMMON symbol, size %ld name %s allocated at %p\n",
- symbol->elf_sym->st_size, nm, symbol->addr));
+ debugBelch("COMMON symbol, size %llu name %s allocated at %p\n",
+ (long long unsigned int) symbol->elf_sym->st_size, nm, symbol->addr));
/* Pointless to do addProddableBlock() for this area,
since the linker should never poke around in it. */