From: H.J. Lu Date: Fri, 11 Jun 2010 18:52:30 +0000 (+0000) Subject: Cast to unsigned long for 0x%lx. X-Git-Tag: gdb_7_2-branchpoint~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f01b0c676086b1d8bc3c205e2a892b699e1800f;p=thirdparty%2Fbinutils-gdb.git Cast to unsigned long for 0x%lx. 2010-06-11 H.J. Lu * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long for 0x%lx. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 72745ad0065..4eb958b3fd8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-06-11 H.J. Lu + + * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long + for 0x%lx. + 2010-06-11 Tristan Gingold Doug Rupp diff --git a/binutils/readelf.c b/binutils/readelf.c index 757fefbdd4d..dc06078584f 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"),