aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 7af73ec6e..32001324f 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -983,7 +983,7 @@ static void showfiles(void)
983 983
984 for (nc = 1; nc < ncols && n+nrows < nfiles; n += nrows, nc++) { 984 for (nc = 1; nc < ncols && n+nrows < nfiles; n += nrows, nc++) {
985 printf("%s%-*s", matches[n], 985 printf("%s%-*s", matches[n],
986 column_width - strlen(matches[n]), ""); 986 (int)(column_width - strlen(matches[n])), "");
987 } 987 }
988 printf("%s\n", matches[n]); 988 printf("%s\n", matches[n]);
989 } 989 }