summaryrefslogtreecommitdiff
path: root/lib/libc/regex/engine.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-08-11 11:42:03 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-08-11 11:42:03 +0000
commitb5363c4a3b475d047faecf0d314890a8fae80325 (patch)
tree56af5c05e41691870a87802f8747246bbf879fad /lib/libc/regex/engine.c
parent67750f0be2b154c64b4342a5b8a00da5fe044827 (diff)
Notes
Diffstat (limited to 'lib/libc/regex/engine.c')
-rw-r--r--lib/libc/regex/engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/engine.c b/lib/libc/regex/engine.c
index e7917b9f8159..be569b19afe7 100644
--- a/lib/libc/regex/engine.c
+++ b/lib/libc/regex/engine.c
@@ -1072,7 +1072,7 @@ int ch;
{
static char pbuf[10];
- if (isprint(ch) || ch == ' ')
+ if (isprint((uch)ch) || ch == ' ')
sprintf(pbuf, "%c", ch);
else
sprintf(pbuf, "\\%o", ch);