projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99d287
)
tweak last change
author
Ian Lance Taylor
<ian@airs.com>
Fri, 12 Jan 1996 20:46:22 +0000
(20:46 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Fri, 12 Jan 1996 20:46:22 +0000
(20:46 +0000)
bfd/elf.c
patch
|
blob
|
history
diff --git
a/bfd/elf.c
b/bfd/elf.c
index 55e45300c6b8e2abc5e79adc98bbd380a19aaf5d..dab0c4d8921e07d12df228aab19fdf4db0bfff52 100644
(file)
--- 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;