* precision requires the argument be an integer, not size_t
authorMike Frysinger <vapier@gentoo.org>
Thu, 28 Dec 2006 21:41:09 +0000 (21:41 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 28 Dec 2006 21:41:09 +0000 (21:41 -0000)
shell/cmdedit.c

index 7af73ec..3200132 100644 (file)
@@ -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]);
        }