From 927d05b5a3e822c37f3b0eea3f3f5e18a7417d29 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 12 Jan 1996 20:46:22 +0000 Subject: tweak last change --- bfd/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd') diff --git a/bfd/elf.c b/bfd/elf.c index 55e4530..dab0c4d 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; -- cgit v1.1