aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-01-04 11:24:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-01-04 11:24:04 +0200
commit72bc84e8200de324ca4d24753bfd5f4773e221f5 (patch)
treed6475110facf23ad52220f134b0872a67281231e /io.c
parentfb6fd355f19270e615c178612f640536a1d2345c (diff)
downloadegawk-72bc84e8200de324ca4d24753bfd5f4773e221f5.tar.gz
egawk-72bc84e8200de324ca4d24753bfd5f4773e221f5.tar.bz2
egawk-72bc84e8200de324ca4d24753bfd5f4773e221f5.zip
PC fixes, compiler warning cleanups, autoconf fix.
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 6a0224c1..4ab2fe02 100644
--- a/io.c
+++ b/io.c
@@ -2679,7 +2679,7 @@ rs1scan(IOBUF *iop, struct recmatch *recm, SCANSTATE *state)
do {
if (*bp == rs)
found = 1;
- if (is_valid_character(*bp))
+ if (is_valid_character((unsigned char)*bp))
mbclen = 1;
else
mbclen = mbrlen(bp, len, &mbs);