sparc: fix compilation warning

* file.c [!HAVE_LONG_LONG_OFF_T] (realprintstat): Cast st_size
to unsigned long.
This commit is contained in:
Дмитрий Левин 2011-02-23 16:16:50 +00:00
parent 0afbf85dec
commit e9a06b7ad4

2
file.c
View File

@ -1005,7 +1005,7 @@ realprintstat(struct tcb *tcp, struct stat *statbuf)
#endif /* !HAVE_STRUCT_STAT_ST_RDEV */
break;
default:
tprintf("st_size=%lu, ", statbuf->st_size);
tprintf("st_size=%lu, ", (unsigned long) statbuf->st_size);
break;
}
if (!abbrev(tcp)) {