diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-05 12:26:29 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 01:17:37 -0500 |
commit | 7606e1a3904368d942ad886c110dc34581e98c42 (patch) | |
tree | fa2cfb9f0421c4818324ffcf55b4a5028e42acc0 /sim/m68hc11/interp.c | |
parent | eae126cb7e10fd2107f4457af929eda96447f728 (diff) | |
download | fsf-binutils-gdb-7606e1a3904368d942ad886c110dc34581e98c42.zip fsf-binutils-gdb-7606e1a3904368d942ad886c110dc34581e98c42.tar.gz fsf-binutils-gdb-7606e1a3904368d942ad886c110dc34581e98c42.tar.bz2 |
sim: m68hc11: migrate to standard uintXX_t types
This old port setup its own uintXX types, but since we require C11
now, we can assume the standard uintXX_t types exist and use them.
Also migrate off the sim-specific unsignedXX types.
Diffstat (limited to 'sim/m68hc11/interp.c')
-rw-r--r-- | sim/m68hc11/interp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c index 016edb6..ab3c5a8 100644 --- a/sim/m68hc11/interp.c +++ b/sim/m68hc11/interp.c @@ -533,7 +533,7 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, static int m68hc11_reg_fetch (SIM_CPU *cpu, int rn, unsigned char *memory, int length) { - uint16 val; + uint16_t val; int size = 2; switch (rn) @@ -597,7 +597,7 @@ m68hc11_reg_fetch (SIM_CPU *cpu, int rn, unsigned char *memory, int length) static int m68hc11_reg_store (SIM_CPU *cpu, int rn, unsigned char *memory, int length) { - uint16 val; + uint16_t val; val = *memory++; if (length == 2) |