aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2019-12-23 13:19:59 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2019-12-23 13:19:59 +0100
commit27653fba5e541dbdb275602e8bd83ce1ccf6c292 (patch)
treef05e40c91de633cf3f41a3a0d10ad4d59c5783c8 /binutils
parent0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec (diff)
downloadgdb-27653fba5e541dbdb275602e8bd83ce1ccf6c292.zip
gdb-27653fba5e541dbdb275602e8bd83ce1ccf6c292.tar.gz
gdb-27653fba5e541dbdb275602e8bd83ce1ccf6c292.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/dwarf.c2
2 files changed, 6 insertions, 1 deletions
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;