Just following the precedent set by other code in the spu directory
here. Okay to commit?
Ben
2006-12-14 Ben Elliston <bje@au.ibm.com>
* spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
Index: spu/stat.c
===================================================================
RCS file: /cvs/src/src/libgloss/spu/stat.c,v
retrieving revision 1.2
diff -u -w -r1.2 stat.c
--- spu/stat.c 30 Aug 2006 19:06:48 -0000 1.2
+++ spu/stat.c 13 Dec 2006 23:16:19 -0000
@@ -42,7 +42,7 @@
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);