diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-02-16 17:29:11 +0000 |
commit | e0554a531f17f56167f978eddf29a09cc6ae9f32 (patch) | |
tree | 3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/regex/engine.c | |
parent | 9d4156aed31c055ba32bc23b2a53d885002de085 (diff) |
Notes
Diffstat (limited to 'lib/libc/regex/engine.c')
-rw-r--r-- | lib/libc/regex/engine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/regex/engine.c b/lib/libc/regex/engine.c index a5f39ded4c5fc..9d69c1e989914 100644 --- a/lib/libc/regex/engine.c +++ b/lib/libc/regex/engine.c @@ -186,8 +186,8 @@ int eflags; pp = mustlast; for (dp = start+g->mlen-1; dp < stop;) { /* Fast skip non-matches */ - while (dp < stop && charjump[*dp]) - dp += charjump[*dp]; + while (dp < stop && charjump[(int)*dp]) + dp += charjump[(int)*dp]; if (dp >= stop) break; @@ -203,7 +203,7 @@ int eflags; /* Jump to next possible match */ mj = matchjump[pp - mustfirst]; - cj = charjump[*dp]; + cj = charjump[(int)*dp]; dp += (cj < mj ? mj : cj); pp = mustlast; } |