Fix build 32-bit-host build error last for last binutils/dwarf2.c change.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 23 Dec 2019 12:19:59 +0000 (13:19 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Mon, 23 Dec 2019 12:19:59 +0000 (13:19 +0100)
* dwarf.c (display_debug_lines_decoded): Cast printf parameter to
format type to correct last change.

binutils/ChangeLog
binutils/dwarf.c

index de6cf421efdadb13b55521843208c2c2328ebf28..a3e15cc26a8d96752d9e546c2c52ef670026e4a5 100644 (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.
index 30abee56c351b4a93f8a6a10148c0020783349a0..97973123c57d202c038213868d8e3a5325588e82 100644 (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;