aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
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 807a5bf47..916213082 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -415,7 +415,7 @@ static void print_ascii(const char *str)
415 n = strcspn(str, controls); 415 n = strcspn(str, controls);
416 if (n) { 416 if (n) {
417 if (!str[n]) break; 417 if (!str[n]) break;
418 printf("%.*s", n, str); 418 printf("%.*s", (int) n, str);
419 str += n; 419 str += n;
420 } 420 }
421 n = strspn(str, controls); 421 n = strspn(str, controls);