Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-29 00:41:09 +0300
committerMike Frysinger <vapier@gentoo.org>2006-12-29 00:41:09 +0300
commit57ec574af7ea7713e92e60abcdd48a0795152a08 (patch)
treecf0a91645d9a9a926dd042d1331053a6a1ad01d2 /shell
parent7fa0fcafca76454effc65f8c3121a37cf0952ff9 (diff)
* precision requires the argument be an integer, not size_t
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)
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]);
}