commit | a46317b6f34be8575ebf3857c58f9e5a42781a75 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Oct 21 23:28:20 2009 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Oct 21 23:28:20 2009 +0200 |
tree | 0dde6655870b400f96bcf7ba54b2ecb9ae76234b | |
parent | 010fb00708fd53159c32bd5da7052845f1ebff60 [diff] [blame] |
df: trivial 64-bit fix Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/coreutils/df.c b/coreutils/df.c index 624ad94..a0e6fe0 100644 --- a/coreutils/df.c +++ b/coreutils/df.c
@@ -183,7 +183,7 @@ if (dev_len > 20) { printf("%s\n%20s", device, ""); } else { - printf("%s%*s", device, 20 - dev_len, ""); + printf("%s%*s", device, 20 - (int)dev_len, ""); } #else if (printf("\n%-20s" + 1, device) > 20)