diff options
Diffstat (limited to 'sim/frv/traps.c')
-rw-r--r-- | sim/frv/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/frv/traps.c b/sim/frv/traps.c index 11f4a60..0c9eacd 100644 --- a/sim/frv/traps.c +++ b/sim/frv/traps.c @@ -138,8 +138,8 @@ frv_itrap (SIM_CPU *current_cpu, PCADDR pc, USI base, SI offset) sim_engine_halt (sd, current_cpu, NULL, pc, sim_exited, s.arg1); } - s.p1 = (PTR) sd; - s.p2 = (PTR) current_cpu; + s.p1 = sd; + s.p2 = current_cpu; s.read_mem = syscall_read_mem; s.write_mem = syscall_write_mem; cb_syscall (cb, &s); |