diff options
author | mlaier <mlaier@FreeBSD.org> | 2008-11-06 23:55:28 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2008-11-06 23:55:28 +0000 |
commit | df30d890f69a83bd83572d1abb21ccda829d712d (patch) | |
tree | 2b9aea9fe38b369cbd6f94f1dc65cc22d172e07c /usr.bin/du | |
parent | 3c1e5036f65b09fe87dfd52e7712f63f47b004cc (diff) | |
download | FreeBSD-src-df30d890f69a83bd83572d1abb21ccda829d712d.zip FreeBSD-src-df30d890f69a83bd83572d1abb21ccda829d712d.tar.gz |
Restore (intmax_t) casts I lost during the last change & unbreak the build.
Diffstat (limited to 'usr.bin/du')
-rw-r--r-- | usr.bin/du/du.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 8a112bb..f5e7f05 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -273,8 +273,9 @@ main(int argc, char *argv[]) (void)printf("\t%s\n", p->fts_path); } else { (void)printf("%jd\t%s\n", - howmany(p->fts_bignum * cblocksize, - blocksize), p->fts_path); + (intmax_t)howmany(p->fts_bignum * + cblocksize, blocksize), + p->fts_path); } } break; @@ -304,8 +305,9 @@ main(int argc, char *argv[]) (void)printf("\t%s\n", p->fts_path); } else { (void)printf("%jd\t%s\n", - howmany(curblocks * cblocksize, - blocksize), p->fts_path); + (intmax_t)howmany(curblocks * + cblocksize, blocksize), + p->fts_path); } } |