libbfc.c: Use stdint types for unsigned char and unsigned long
authorAlan Modra <amodra@gmail.com>
Sat, 29 Apr 2023 03:30:46 +0000 (13:00 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 3 May 2023 05:11:28 +0000 (14:41 +0930)
commitf68912e8310e28ffdfa8a16e0f3db4bcb5b2f620
tree13a84ce0445ce27328978b0303321081db1301d5
parentdf2fc6fbfd8f8188b06a6dd3c8987e8c3135ec58
libbfc.c: Use stdint types for unsigned char and unsigned long

* libbfd.c (bfd_put_8): Use bfd_byte rather than unsigned char.
(bfd_get_8, bfd_get_signed_8): Likewise.
(_bfd_read_unsigned_leb128, _bfd_safe_read_leb128): Likewise.
(_bfd_read_signed_leb128): Likewise.
(bfd_getb24, bfd_getl24): Replace unsigned long with uint32_t.
(bfd_getb32, bfd_getl32): Likewise.
(bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
bfd/bfd-in2.h
bfd/libbfd.c