Mach-O: misc build adjustments

Oldish gcc warns about local variables shadowing outer scope ones.
Additionally %lx is not (always) suitable to print the result of
bfd_get_32().
This commit is contained in:
Jan Beulich 2020-01-03 10:11:50 +01:00
parent 6e2118f588
commit 4bb7a87e74
3 changed files with 26 additions and 20 deletions

View file

@ -2011,7 +2011,7 @@ dump_obj_compact_unwind (bfd *abfd,
putchar (' ');
printf_uint64 (bfd_get_64 (abfd, e->start));
printf (" %08lx", bfd_get_32 (abfd, e->length));
printf (" %08lx", (unsigned long)bfd_get_32 (abfd, e->length));
putchar (' ');
printf_uint64 (bfd_get_64 (abfd, e->personality));
putchar (' ');