From: Hans-Peter Nilsson Date: Mon, 23 Dec 2019 12:19:59 +0000 (+0100) Subject: Fix build 32-bit-host build error last for last binutils/dwarf2.c change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27653fba5e541dbdb275602e8bd83ce1ccf6c292;p=binutils-gdb.git 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. --- 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;