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.
This commit is contained in:
Hans-Peter Nilsson 2019-12-23 13:19:59 +01:00
parent 0e62b37a3f
commit 27653fba5e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-12-23 Hans-Peter Nilsson <hp@axis.com>
* dwarf.c (display_debug_lines_decoded): Cast printf parameter to
format type to correct last change.
2019-12-23 Alan Modra <amodra@gmail.com>
* dwarf.h (read_leb128): Update prototype.

View File

@ -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;