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/emulos.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/emulos.c')
-rw-r--r-- | sim/m68hc11/emulos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m68hc11/emulos.c b/sim/m68hc11/emulos.c index 111bd99..b661175 100644 --- a/sim/m68hc11/emulos.c +++ b/sim/m68hc11/emulos.c @@ -107,7 +107,7 @@ emul_write (sim_cpu *cpu) cpu->cpu_running = 0; while (size) { - uint8 val = memory_read8 (cpu, addr); + uint8_t val = memory_read8 (cpu, addr); if (write (0, &val, 1) != 1) printf ("write failed: %s\n", strerror (errno)); |