aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/sh/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index c1b05dd..c502b21 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -761,7 +761,7 @@ IOMEM (int addr, int write, int value)
static int
get_now (void)
{
- return time ((long *) 0);
+ return time (NULL);
}
static int