aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index af15aa02..7cf48911 100644
--- a/io.c
+++ b/io.c
@@ -2689,7 +2689,7 @@ rs1scan(IOBUF *iop, struct recmatch *recm, SCANSTATE *state)
do {
if (*bp == rs)
found = 1;
- if (is_valid_character((unsigned char)*bp))
+ if (is_valid_character(*bp))
mbclen = 1;
else
mbclen = mbrlen(bp, len, &mbs);