From 27653fba5e541dbdb275602e8bd83ce1ccf6c292 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 23 Dec 2019 13:19:59 +0100 Subject: [PATCH] Fix build 32-bit-host build error last for last binutils/dwarf2.c change. * dwarf.c (display_debug_lines_decoded): Cast printf parameter to format type to correct last change. --- binutils/ChangeLog | 5 +++++ binutils/dwarf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index de6cf421efd..a3e15cc26a8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2019-12-23 Hans-Peter Nilsson + + * dwarf.c (display_debug_lines_decoded): Cast printf parameter to + format type to correct last change. + 2019-12-23 Alan Modra * dwarf.h (read_leb128): Update prototype. diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 30abee56c35..97973123c57 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -4717,7 +4717,7 @@ display_debug_lines_decoded (struct dwarf_section * section, default: printf (_("UNKNOWN (%u): length %ld\n"), - ext_op_code, op_code_data - data); + ext_op_code, (long int) (op_code_data - data)); break; } data = op_code_end; -- 2.30.2