diff options
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r-- | sim/arm/armos.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c index e5c218d..c222e2e 100644 --- a/sim/arm/armos.c +++ b/sim/arm/armos.c @@ -840,8 +840,7 @@ ARMul_OSHandleSWI (ARMul_State * state, ARMword number) break; case 17: /* Utime. */ - state->Reg[0] = (ARMword) sim_callback->time (sim_callback, - (long *) state->Reg[1]); + state->Reg[0] = state->Reg[1] = (ARMword) sim_callback->time (sim_callback, NULL); OSptr->ErrorNo = sim_callback->get_errno (sim_callback); break; |