diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-06-11 18:52:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-06-11 18:52:30 +0000 |
commit | 7f01b0c676086b1d8bc3c205e2a892b699e1800f (patch) | |
tree | 3da7d618305369dd121b4f1d6f77aadb31448a39 /binutils | |
parent | caddefa41f6a50f4d2499caf56422263df591e72 (diff) | |
download | fsf-binutils-gdb-7f01b0c676086b1d8bc3c205e2a892b699e1800f.zip fsf-binutils-gdb-7f01b0c676086b1d8bc3c205e2a892b699e1800f.tar.gz fsf-binutils-gdb-7f01b0c676086b1d8bc3c205e2a892b699e1800f.tar.bz2 |
Cast to unsigned long for 0x%lx.
2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
for 0x%lx.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 72745ad..4eb958b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-06-11 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long + for 0x%lx. + 2010-06-11 Tristan Gingold <gingold@adacore.com> Doug Rupp <rupp@gnat.com> diff --git a/binutils/readelf.c b/binutils/readelf.c index 757fefb..dc06078 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -5112,7 +5112,7 @@ dump_ia64_vms_dynamic_fixups (FILE *file, struct ia64_vms_dynfixup *fixup, else { warn ("corrupt library name index of 0x%lx found in dynamic entry", - fixup->needed); + (unsigned long) fixup->needed); lib_name = "???"; } printf (_("\nImage fixups for needed library #%d: %s - ident: %lx\n"), |