[Git][ghc/ghc][wip/andreask/ci_validate] Rts/elf-linker: Use proper format string.

Andreas Klebinger gitlab at gitlab.haskell.org
Thu Nov 26 14:22:51 UTC 2020



Andreas Klebinger pushed to branch wip/andreask/ci_validate at Glasgow Haskell Compiler / GHC


Commits:
e818856f by Andreas Klebinger at 2020-11-26T15:22:32+01:00
Rts/elf-linker: Use proper format string.

- - - - -


1 changed file:

- rts/linker/Elf.c


Changes:

=====================================
rts/linker/Elf.c
=====================================
@@ -904,7 +904,7 @@ ocGetNames_ELF ( ObjectCode* oc )
                    ASSERT(common_used <= common_size);
 
                    IF_DEBUG(linker,
-                            debugBelch("COMMON symbol, size %lu name %s allocated at %p\n",
+                            debugBelch("COMMON symbol, size %u name %s allocated at %p\n",
                                        symbol->elf_sym->st_size, nm, symbol->addr));
 
                    /* Pointless to do addProddableBlock() for this area,



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e818856f88097a9d58a4997bf6947a16651e2bfb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e818856f88097a9d58a4997bf6947a16651e2bfb
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201126/fa474b53/attachment-0001.html>


More information about the ghc-commits mailing list