aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/cmdedit.c')
-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)
for (nc = 1; nc < ncols && n+nrows < nfiles; n += nrows, nc++) {
printf("%s%-*s", matches[n],
- column_width - strlen(matches[n]), "");
+ (int)(column_width - strlen(matches[n])), "");
}
printf("%s\n", matches[n]);
}