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:
parent
6e2118f588
commit
4bb7a87e74
3 changed files with 26 additions and 20 deletions
|
@ -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 (' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue