aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/interf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32/interf.c')
-rw-r--r--sim/erc32/interf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 9ab2582..d04d07c 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -62,7 +62,7 @@ int sis_gdb_break = 1;
host_callback *sim_callback;
int
-run_sim(struct pstate *sregs, uint64 icount, int dis)
+run_sim(struct pstate *sregs, uint64_t icount, int dis)
{
int mexc, irq;
@@ -400,13 +400,13 @@ flush_windows (void)
for (win = invwin; ; win = (win - 1) & PSR_CWP)
{
- uint32 sp;
+ uint32_t sp;
int i;
sp = sregs.r[(win * 16 + 14) & 0x7f];
#if 1
if (sis_verbose > 2) {
- uint32 fp = sregs.r[(win * 16 + 30) & 0x7f];
+ uint32_t fp = sregs.r[(win * 16 + 30) & 0x7f];
printf("flush_window: win %d, sp %x, fp %x\n", win, sp, fp);
}
#endif