PR28575, readelf.c and strings.c use undefined type uint
authorPekka Seppänen <pexu@sourceware.mail.kapsi.fi>
Wed, 10 Nov 2021 09:45:19 +0000 (20:15 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 10 Nov 2021 09:54:36 +0000 (20:24 +1030)
commit795588aec4f894206863c938bd6d716895886009
tree983279eda5cd402a479797577f37d5526426d5a7
parentb030ae091e65aba97e511fa9c9bb80c77cdeabad
PR28575, readelf.c and strings.c use undefined type uint

Since --unicode support (commit b3aa80b45c4) both binutils/readelf.c
and binutils/strings.c use 'uint' in a few locations.  It likely
should be 'unsigned int' since there isn't anything defining 'uint'
within binutils (besides zlib) and AFAIK it isn't a standard type.

* readelf.c (print_symbol): Replace uint with unsigned int.
* strings.c (string_min, display_utf8_char): Likewise.
(print_unicode_stream_body, print_unicode_stream): Likewise.
(print_strings): Likewise.
(get_unicode_byte): Wrap long line.
binutils/readelf.c
binutils/strings.c