summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/df/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/df/df.c b/bin/df/df.c
index 3058da0..b430608 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -397,7 +397,7 @@ prthumanvalinode(int64_t bytes)
static intmax_t
fsbtoblk(int64_t num, uint64_t fsbs, u_long bs)
{
- return (num * (intmax_t) fsbs / bs);
+ return (num * (intmax_t) fsbs / (int64_t) bs);
}
/*
OpenPOWER on IntegriCloud