aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-03-09 17:03:08 +0000
committerJim Blandy <[email protected]>1993-03-09 17:03:08 +0000
commit11a364d9f2aa70ad32927bae8a32db9f25ce958d (patch)
tree0e7c6c29a011a5d825e8d00b11b9e2a1c8e3ac7b /src/regex.c
parentd41d75fbe972c7b5385c58f057715384950c9525 (diff)
*** empty log message ***
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c
index eda11b5350..cb94d597c6 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2930,7 +2930,8 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
inside the loop. */
if (translate)
while (range > lim
- && !fastmap[(unsigned char) translate[*d++]])
+ && !fastmap[(unsigned char)
+ translate[(unsigned char) *d++]])
range--;
else
while (range > lim && !fastmap[(unsigned char) *d++])