summaryrefslogtreecommitdiffstats
path: root/listen/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'listen/utils.c')
-rw-r--r--listen/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen/utils.c b/listen/utils.c
index aa4d9e2..cf1a796 100644
--- a/listen/utils.c
+++ b/listen/utils.c
@@ -70,7 +70,7 @@ void lprintf(int dtype, char *fmt, ...)
} else {
for (p = str; *p != '\0'; p++)
if ((*p < 32 && *p != '\n')
- || (*p > 126 && *p < 160 && sevenbit))
+ || (*p > 126 && (unsigned char) *p < 160 && sevenbit))
*p = '.';
if (fputs(str, stdout) == -1)
exit(1);