From b7d9bb7e5e0d9839f1676593c4173685d24a380d Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 2 Jan 2007 16:51:42 +0000 Subject: [PATCH] 2007-01-02 Ben Elliston * spu/time.c (time): Cast new sys.time value to unsigned int. --- libgloss/ChangeLog | 4 ++++ libgloss/spu/time.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index c74790ee7..4353a50b1 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2007-01-02 Ben Elliston + + * spu/time.c (time): Cast new sys.time value to unsigned int. + 2006-12-25 Kazu Hirata * arm/syscalls.c (_unlink, _system, _rename): Cast arguments diff --git a/libgloss/spu/time.c b/libgloss/spu/time.c index 03fd02e31..ab5363bbd 100644 --- a/libgloss/spu/time.c +++ b/libgloss/spu/time.c @@ -39,7 +39,7 @@ time (time_t *t) syscall_time_t sys; syscall_out_t *psys_out = ( syscall_out_t* )&sys; - sys.time = t; + sys.time = (unsigned int)t; _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_TIME, &sys);