diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-12 20:46:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-12 20:46:22 +0000 |
commit | 927d05b5a3e822c37f3b0eea3f3f5e18a7417d29 (patch) | |
tree | 69ef4894d29c4db47363e82c88cc9d1e60aac653 /bfd/elf.c | |
parent | f99d287b2a348c0ef95031023e7496b5999782de (diff) | |
download | gdb-927d05b5a3e822c37f3b0eea3f3f5e18a7417d29.zip gdb-927d05b5a3e822c37f3b0eea3f3f5e18a7417d29.tar.gz gdb-927d05b5a3e822c37f3b0eea3f3f5e18a7417d29.tar.bz2 |
tweak last change
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |