From de7bdfc80ae2d1ea945149ea53b6b8737d2d8c70 Mon Sep 17 00:00:00 2001 From: vapier Date: Thu, 28 Dec 2006 21:41:09 +0000 Subject: * precision requires the argument be an integer, not size_t git-svn-id: svn://busybox.net/trunk/busybox@17101 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/cmdedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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]); } -- cgit v1.2.3-55-g6feb