summaryrefslogtreecommitdiff
path: root/lib/libc/regex/regcomp.c
diff options
context:
space:
mode:
authorDaniel C. Sobral <dcs@FreeBSD.org>2000-07-06 06:37:30 +0000
committerDaniel C. Sobral <dcs@FreeBSD.org>2000-07-06 06:37:30 +0000
commitf943749dcd68ad07085f76d5dbf722e368b1a6e4 (patch)
tree791e5f91dffc0b463335d0850829a84bf613c20a /lib/libc/regex/regcomp.c
parent9868274b74837957cbd36be821c1ce8ffe7437bf (diff)
Notes
Diffstat (limited to 'lib/libc/regex/regcomp.c')
-rw-r--r--lib/libc/regex/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c
index 30d1b01f9cff6..e943374c9c481 100644
--- a/lib/libc/regex/regcomp.c
+++ b/lib/libc/regex/regcomp.c
@@ -1958,7 +1958,7 @@ struct re_guts *g;
* is the first one that would be matched).
*/
for (mindex = 0; mindex < g->mlen; mindex++)
- g->charjump[g->must[mindex]] = g->mlen - mindex - 1;
+ g->charjump[(unsigned char)g->must[mindex]] = g->mlen - mindex - 1;
}
/*