st_size in struct stat has type off_t (long long) and not unsigned long

change strtoul() to strtoq()
This commit is contained in:
Torsten Blum 1995-10-06 16:25:10 +00:00
parent 662d0b8c51
commit 10e1798df5

View File

@ -211,7 +211,7 @@ set(t, ip)
err("invalid link count %s", val);
break;
case F_SIZE:
ip->st_size = strtoul(val, &ep, 10);
ip->st_size = strtoq(val, &ep, 10);
if (*ep)
err("invalid size %s", val);
break;