2006-12-18 Ben Elliston <bje@au.ibm.com>

* spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
This commit is contained in:
Jeff Johnston 2006-12-18 16:43:31 +00:00
parent afc9d95aca
commit f4dc839650
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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);