summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/spu/time.c2
2 files changed, 5 insertions, 1 deletions
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 <bje@au.ibm.com>
+
+ * spu/time.c (time): Cast new sys.time value to unsigned int.
+
2006-12-25 Kazu Hirata <kazu@codesourcery.com>
* 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);