From: Ian Lance Taylor Date: Fri, 12 Jan 1996 20:46:22 +0000 (+0000) Subject: tweak last change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=927d05b5a3e822c37f3b0eea3f3f5e18a7417d29;p=binutils-gdb.git tweak last change --- diff --git a/bfd/elf.c b/bfd/elf.c index 55e45300c6b..dab0c4d8921 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -426,7 +426,7 @@ _bfd_elf_print_private_bfd_data (abfd, farg) switch (dyn.d_tag) { default: - sprintf (ab, "0x%x", dyn.d_tag); + sprintf (ab, "0x%lx", (unsigned long) dyn.d_tag); name = ab; break; @@ -457,7 +457,7 @@ _bfd_elf_print_private_bfd_data (abfd, farg) fprintf (f, " %-11s ", name); if (! stringp) - fprintf (f, "0x%x", dyn.d_un.d_val); + fprintf (f, "0x%lx", (unsigned long) dyn.d_un.d_val); else { const char *string;