diff --git a/biscuit/c/ls.c b/biscuit/c/ls.c index 293b48d..2423fc2 100644 --- a/biscuit/c/ls.c +++ b/biscuit/c/ls.c @@ -34,7 +34,7 @@ void dprint(int fd, char *par, int left, int rec) spec = 's'; else 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 (closedir(dir) == -1)