Fix type mismatches

Thanks to Random832 for the patch.
This commit is contained in:
sin
2015-11-26 10:24:08 +00:00
parent 41a9742037
commit 1be832320c
2 changed files with 3 additions and 3 deletions

2
du.c
View File

@@ -25,7 +25,7 @@ printpath(off_t n, const char *path)
if (hflag)
printf("%s\t%s\n", humansize(n * blksize), path);
else
printf("%ju\t%s\n", n, path);
printf("%jd\t%s\n", (intmax_t)n, path);
}
static off_t