[Git][ghc/ghc][master] Fix invalid printf format

Marge Bot gitlab at gitlab.haskell.org
Wed Jun 24 02:51:36 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
7ad4085c by Sylvain Henry at 2020-06-23T22:51:27-04:00
Fix invalid printf format

- - - - -


1 changed file:

- rts/linker/MachO.c


Changes:

=====================================
rts/linker/MachO.c
=====================================
@@ -678,7 +678,7 @@ relocateSection(ObjectCode* oc, int curSection)
 {
     Section * sect = &oc->sections[curSection];
 
-    IF_DEBUG(linker, debugBelch("relocateSection %d, info: %x\n", curSection, sect->info));
+    IF_DEBUG(linker, debugBelch("relocateSection %d, info: %p\n", curSection, (void*)sect->info));
 
     // empty sections (without segments), won't have their info filled.
     // there is no relocation to be done for them.



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7ad4085c22a8d5030545cc9e0fedd0784836ecbf
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/20200623/2866e839/attachment.html>


More information about the ghc-commits mailing list