summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-31 12:14:16 +0000
committerDenis Vlasenko2006-12-31 12:14:16 +0000
commit806116b23407bdf95f22646f11f50b1d14e1cfc2 (patch)
tree5767bce96065ea8c3980a9dfa05dc769eb796d71 /miscutils
parentd514ba226b5f3344c3e66395e78c5fb0a782d42a (diff)
downloadbusybox-806116b23407bdf95f22646f11f50b1d14e1cfc2.zip
busybox-806116b23407bdf95f22646f11f50b1d14e1cfc2.tar.gz
fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 807a5bf..9162130 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);