aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/dv-lm32cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/dv-lm32cpu.c')
-rw-r--r--sim/lm32/dv-lm32cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/lm32/dv-lm32cpu.c b/sim/lm32/dv-lm32cpu.c
index 2f702bd..83fe607 100644
--- a/sim/lm32/dv-lm32cpu.c
+++ b/sim/lm32/dv-lm32cpu.c
@@ -141,7 +141,7 @@ deliver_lm32cpu_interrupt (struct hw *me, void *data)
SIM_DESC sd = hw_system (me);
sim_cpu *cpu = STATE_CPU (sd, 0); /* NB: fix CPU 0. */
address_word cia = CPU_PC_GET (cpu);
- int interrupt = (int) data;
+ int interrupt = (uintptr_t) data;
HW_TRACE ((me, "interrupt-check event"));