From a46317b6f34be8575ebf3857c58f9e5a42781a75 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 21 Oct 2009 23:28:20 +0200 Subject: df: trivial 64-bit fix Signed-off-by: Denys Vlasenko --- coreutils/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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 @@ int df_main(int argc, char **argv) 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) -- cgit v1.1