aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/dv-nvram.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-05 12:26:29 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:37 -0500
commit7606e1a3904368d942ad886c110dc34581e98c42 (patch)
treefa2cfb9f0421c4818324ffcf55b4a5028e42acc0 /sim/m68hc11/dv-nvram.c
parenteae126cb7e10fd2107f4457af929eda96447f728 (diff)
downloadgdb-7606e1a3904368d942ad886c110dc34581e98c42.zip
gdb-7606e1a3904368d942ad886c110dc34581e98c42.tar.gz
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/dv-nvram.c')
-rw-r--r--sim/m68hc11/dv-nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m68hc11/dv-nvram.c b/sim/m68hc11/dv-nvram.c
index 50363b2..f021608 100644
--- a/sim/m68hc11/dv-nvram.c
+++ b/sim/m68hc11/dv-nvram.c
@@ -106,7 +106,7 @@ struct nvram
{
address_word base_address; /* Base address of ram. */
unsigned size; /* Size of ram. */
- unsigned8 *data; /* Pointer to ram memory. */
+ uint8_t *data; /* Pointer to ram memory. */
const char *file_name; /* Path of ram file. */
int fd; /* File description of opened ram file. */
enum nvram_mode mode; /* How load/save ram file. */