diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-01-02 16:51:42 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-01-02 16:51:42 +0000 |
commit | b7d9bb7e5e0d9839f1676593c4173685d24a380d (patch) | |
tree | 29a2637ff0f99e59d6d854b0bdef570c8d5fc56e | |
parent | 52cf7618ce0466007055e78292122d7dbb7bf14a (diff) | |
download | cygnal-b7d9bb7e5e0d9839f1676593c4173685d24a380d.tar.gz cygnal-b7d9bb7e5e0d9839f1676593c4173685d24a380d.tar.bz2 cygnal-b7d9bb7e5e0d9839f1676593c4173685d24a380d.zip |
2007-01-02 Ben Elliston <bje@au.ibm.com>
* spu/time.c (time): Cast new sys.time value to unsigned int.
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/spu/time.c | 2 |
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); |