diff options
-rw-r--r-- | coreutils/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index 624ad94ba..a0e6fe070 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -183,7 +183,7 @@ int df_main(int argc, char **argv) | |||
183 | if (dev_len > 20) { | 183 | if (dev_len > 20) { |
184 | printf("%s\n%20s", device, ""); | 184 | printf("%s\n%20s", device, ""); |
185 | } else { | 185 | } else { |
186 | printf("%s%*s", device, 20 - dev_len, ""); | 186 | printf("%s%*s", device, 20 - (int)dev_len, ""); |
187 | } | 187 | } |
188 | #else | 188 | #else |
189 | if (printf("\n%-20s" + 1, device) > 20) | 189 | if (printf("\n%-20s" + 1, device) > 20) |