From 836db608432ba50f76c0a63ec7bd05694341a1d4 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Wed, 1 Aug 2012 21:43:58 +0200 Subject: [PATCH] Fix formatting string in readelf This caused failures of 32-bit builds. Signed-off-by: Petr Machata --- src/readelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.2