diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 1 | ||||
-rw-r--r-- | binutils/objdump.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8634435..3737672 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,6 @@ 2020-01-13 Nick Clifton <nickc@redhat.com> + * objdump.c (disassemble_bytes): Remove C99-ism. * testsuite/binutils-all/debuginfod.exp: New tests. 2020-01-13 Thomas Troeger <tstroege@gmx.de> diff --git a/binutils/objdump.c b/binutils/objdump.c index a031e9d..2090f52 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2623,8 +2623,9 @@ disassemble_bytes (struct disassemble_info * inf, size_t line_buffer_size = strlen (line_buffer); char last_color = 0; + size_t i; - for (size_t i = 0; i <= line_buffer_size; ++i) + for (i = 0; i <= line_buffer_size; ++i) { if (color_output) { |