From 7f01b0c676086b1d8bc3c205e2a892b699e1800f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 11 Jun 2010 18:52:30 +0000 Subject: [PATCH] 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. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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"), -- 2.30.2