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/readelf.c | |
parent | caddefa41f6a50f4d2499caf56422263df591e72 (diff) | |
download | gdb-7f01b0c676086b1d8bc3c205e2a892b699e1800f.zip gdb-7f01b0c676086b1d8bc3c205e2a892b699e1800f.tar.gz 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/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |