x86: use fixed-width type for codep and friends
authorJan Beulich <jbeulich@suse.com>
Fri, 26 May 2023 07:53:01 +0000 (09:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 May 2023 07:53:01 +0000 (09:53 +0200)
commita4aa034a0abca9c93910c23fbe7ed5f07b4c4b0b
tree883876cb099f6d68802281b9b5e031e40cfe30f5
parent778415f5975f5acb7c7527770c07f5ec55145385
x86: use fixed-width type for codep and friends

This first of all removes a dependency on bfd_byte and unsigned char
being the same types. It further eliminates the need to mask by 0xff
when fetching values (which wasn't done fully consistently anyway),
improving code legibility.

While there, where possible add const.
opcodes/i386-dis.c