From 7fc5ac571661cb5e5dac3fe3d2284c9d0079ff33 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Wed, 5 Nov 2014 10:08:37 +0100 Subject: [PATCH] 2014-11-05 Jan-Benedict Glaw * readelf.c (process_mips_specific): Fix format string warning. --- binutils/ChangeLog | 6 +++++- binutils/readelf.c | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d071381d468..3db190c9494 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2014-11-05 Jan-Benedict Glaw + + * readelf.c (process_mips_specific): Fix format string warning. + 2014-11-04 Matthew Fortune * readelf.c (process_mips_specific): Rename index to idx. @@ -45,7 +49,7 @@ unsigned long. 2014-10-31 Andrew Pinski - Naveen H.S + Naveen H.S * readelf.c (print_mips_isa_ext): Print the value of Octeon3. diff --git a/binutils/readelf.c b/binutils/readelf.c index 7c0c3ff60d7..18465e66c5f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -13519,7 +13519,8 @@ process_mips_specific (FILE * file) printf (_(""), psym->st_name); } else - printf (_(""), i); + printf (_(""), + (unsigned long) i); printf ("\n"); } -- 2.30.2