[binutils-gdb] Fix build 32-bit-host build error last for last binutils/dwarf2.c change.
Hans-Peter Nilsson
hp@sourceware.org
Mon Dec 23 12:20:00 GMT 2019
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=27653fba5e541dbdb275602e8bd83ce1ccf6c292
commit 27653fba5e541dbdb275602e8bd83ce1ccf6c292
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date: Mon Dec 23 13:19:59 2019 +0100
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:
---
binutils/ChangeLog | 5 +++++
binutils/dwarf.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index de6cf42..a3e15cc 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 30abee5..9797312 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;
More information about the Binutils-cvs
mailing list