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.
This commit is contained in:
H.J. Lu 2010-06-11 18:52:30 +00:00
parent caddefa41f
commit 7f01b0c676
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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"),