This commit is contained in:
Denis Vlasenko
2006-12-31 12:14:16 +00:00
parent d514ba226b
commit 806116b234
3 changed files with 8 additions and 6 deletions

View File

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