Fix off_t in mipsn32.

master
Yuhao Zhou 6 years ago
parent 4ea7730ec2
commit 836a007de9

@ -34,7 +34,7 @@ void dprint(int fd, char *par, int left, int rec)
spec = 's'; spec = 's';
else else
spec = '-'; spec = '-';
printf("%crwxr-xr-x %ld %s\n", spec, st.st_size, de->d_name); printf("%crwxr-xr-x %ld %s\n", spec, (long)st.st_size, de->d_name);
} }
if (!rec) { if (!rec) {
if (closedir(dir) == -1) if (closedir(dir) == -1)

Loading…
Cancel
Save