From: Petr Machata Date: Wed, 1 Aug 2012 19:43:58 +0000 (+0200) Subject: Fix formatting string in readelf X-Git-Tag: elfutils-0.155~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=836db608432ba50f76c0a63ec7bd05694341a1d4;p=thirdparty%2Felfutils.git Fix formatting string in readelf This caused failures of 32-bit builds. Signed-off-by: Petr Machata --- diff --git a/src/readelf.c b/src/readelf.c index 3a27f8f06..9aaf4ece6 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -6819,7 +6819,7 @@ print_debug_macro_section (Dwfl_Module *dwflmod __attribute__ ((unused)), while (readp < readendp) { - printf (gettext (" Offset: 0x%" PRIx64 "\n"), + printf (gettext (" Offset: 0x%zx\n"), readp - (const unsigned char *) data->d_buf); // Header, 2 byte version, 1 byte flag, optional .debug_line offset,