aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-12-18 16:43:31 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-12-18 16:43:31 +0000
commitf4dc8396502337a40b9c786b7f218c6bfa77e12f (patch)
treeaac57c53ddd0dd72fd6b6dce3ebe4bfc939a9544 /libgloss
parentafc9d95aca105f81dc048984b60127031d8c0230 (diff)
downloadnewlib-f4dc8396502337a40b9c786b7f218c6bfa77e12f.zip
newlib-f4dc8396502337a40b9c786b7f218c6bfa77e12f.tar.gz
newlib-f4dc8396502337a40b9c786b7f218c6bfa77e12f.tar.bz2
2006-12-18 Ben Elliston <bje@au.ibm.com>
* spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/spu/stat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index e747db1..bd4a28d 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-18 Ben Elliston <bje@au.ibm.com>
+
+ * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
+
2006-12-13 Ben Elliston <bje@au.ibm.com>
* libnosys/_exit.c (_exit): Finish with an infinite loop to
diff --git a/libgloss/spu/stat.c b/libgloss/spu/stat.c
index 05e64ac..5dbae8a 100644
--- a/libgloss/spu/stat.c
+++ b/libgloss/spu/stat.c
@@ -42,7 +42,7 @@ stat (const char *pathname, struct stat *pstat)
syscall_out_t *psys_out = ( syscall_out_t* )&sys;
jsre_stat_t pjstat;
- sys.pathname = pathname;
+ sys.pathname = (unsigned int)pathname;
sys.ptr = ( unsigned int )&pjstat;
_send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_STAT, &sys);