aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/sis.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-05 12:29:43 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:38 -0500
commit4a92dedc592fd0d5e8bbf9987ed2602b92607bed (patch)
tree900dbb4cdaeccdbf6f51389468fdef3315bd7c45 /sim/erc32/sis.c
parent74ccc978200bc96b48ef52385cadf5ddb131dc21 (diff)
downloadbinutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.zip
binutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.tar.gz
binutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.tar.bz2
sim: erc32: 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.
Diffstat (limited to 'sim/erc32/sis.c')
-rw-r--r--sim/erc32/sis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/erc32/sis.c b/sim/erc32/sis.c
index 9057386..66a27d0 100644
--- a/sim/erc32/sis.c
+++ b/sim/erc32/sis.c
@@ -60,14 +60,14 @@ extern int sparclite;
extern int dumbio;
extern char uart_dev1[];
extern char uart_dev2[];
-extern uint32 last_load_addr;
+extern uint32_t last_load_addr;
#ifdef ERA
extern int era;
#endif
int
-run_sim(struct pstate *sregs, uint64 icount, int dis)
+run_sim(struct pstate *sregs, uint64_t icount, int dis)
{
int irq, mexc, deb;