aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32r/traps.c')
-rw-r--r--sim/m32r/traps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c
index a696b58..267d548 100644
--- a/sim/m32r/traps.c
+++ b/sim/m32r/traps.c
@@ -237,8 +237,8 @@ m32r_trap (SIM_CPU *current_cpu, PCADDR pc, int num)
s.arg6 = arg6;
s.arg7 = arg7;
- s.p1 = (PTR) sd;
- s.p2 = (PTR) current_cpu;
+ s.p1 = sd;
+ s.p2 = current_cpu;
s.read_mem = sim_syscall_read_mem;
s.write_mem = sim_syscall_write_mem;