From 246b6a6d700495ce2e52238e6f08c09af5b058c3 Mon Sep 17 00:00:00 2001 From: Max Laier Date: Thu, 6 Nov 2008 23:55:28 +0000 Subject: [PATCH] Restore (intmax_t) casts I lost during the last change & unbreak the build. --- usr.bin/du/du.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 8a112bb6a5ee..f5e7f055b3e4 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); } }