Don't use %ll

* dwarf2.c (read_section): Don't use 'll' format modifier.
	(find_abstract_instance): Likewise.
	* elfcore.h (elf_core_file_p): Likewise.
This commit is contained in:
Alan Modra
2018-02-19 18:48:15 +10:30
parent 2dcf00ce6c
commit 8979927ae7
3 changed files with 12 additions and 6 deletions

View File

@@ -569,9 +569,9 @@ read_section (bfd * abfd,
if (offset != 0 && offset >= *section_size)
{
/* xgettext: c-format */
_bfd_error_handler (_("Dwarf Error: Offset (%llu)"
_bfd_error_handler (_("Dwarf Error: Offset (%" PRIu64 ")"
" greater than or equal to %s size (%" PRIu64 ")."),
(long long) offset, section_name,
(uint64_t) offset, section_name,
(uint64_t) *section_size);
bfd_set_error (bfd_error_bad_value);
return FALSE;
@@ -2871,8 +2871,8 @@ find_abstract_instance (struct comp_unit * unit,
if (info_ptr == NULL)
{
_bfd_error_handler
(_("Dwarf Error: Unable to read alt ref %llu."),
(long long) die_ref);
(_("Dwarf Error: Unable to read alt ref %" PRIu64 "."),
(uint64_t) die_ref);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}