aboutsummaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-31 12:14:16 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-12-31 12:14:16 +0000
commit806116b23407bdf95f22646f11f50b1d14e1cfc2 (patch)
tree5767bce96065ea8c3980a9dfa05dc769eb796d71 /miscutils/less.c
parentd514ba226b5f3344c3e66395e78c5fb0a782d42a (diff)
downloadbusybox-806116b23407bdf95f22646f11f50b1d14e1cfc2.tar.gz
busybox-806116b23407bdf95f22646f11f50b1d14e1cfc2.tar.bz2
fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
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);