aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
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/dwarf.c
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/dwarf.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
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;