From 806116b23407bdf95f22646f11f50b1d14e1cfc2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 31 Dec 2006 12:14:16 +0000 Subject: fixes from Yann E. MORIN --- miscutils/less.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') diff --git a/miscutils/less.c b/miscutils/less.c index 807a5bf47..916213082 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -415,7 +415,7 @@ static void print_ascii(const char *str) n = strcspn(str, controls); if (n) { if (!str[n]) break; - printf("%.*s", n, str); + printf("%.*s", (int) n, str); str += n; } n = strspn(str, controls); -- cgit v1.2.3