diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-28 21:41:09 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-28 21:41:09 +0000 |
commit | de7bdfc80ae2d1ea945149ea53b6b8737d2d8c70 (patch) | |
tree | cf0a91645d9a9a926dd042d1331053a6a1ad01d2 | |
parent | 948390a7c7982ef09abd8c6328088077cc399ff9 (diff) | |
download | busybox-w32-de7bdfc80ae2d1ea945149ea53b6b8737d2d8c70.tar.gz busybox-w32-de7bdfc80ae2d1ea945149ea53b6b8737d2d8c70.tar.bz2 busybox-w32-de7bdfc80ae2d1ea945149ea53b6b8737d2d8c70.zip |
* precision requires the argument be an integer, not size_t
git-svn-id: svn://busybox.net/trunk/busybox@17101 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | shell/cmdedit.c | 2 |
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 | } |