diff options
Diffstat (limited to 'sim/bfin/interp.c')
-rw-r--r-- | sim/bfin/interp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c index 74d0a15..58bec8b 100644 --- a/sim/bfin/interp.c +++ b/sim/bfin/interp.c @@ -132,8 +132,8 @@ bfin_syscall (SIM_CPU *cpu) sc.arg5 = args[4] = GET_LONG (DREG (0) + 16); sc.arg6 = args[5] = GET_LONG (DREG (0) + 20); } - sc.p1 = (PTR) sd; - sc.p2 = (PTR) cpu; + sc.p1 = sd; + sc.p2 = cpu; sc.read_mem = sim_syscall_read_mem; sc.write_mem = sim_syscall_write_mem; |