summaryrefslogtreecommitdiff
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 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);