*** empty log message ***
authorJim Blandy <jimb@red-bean.com>
Tue, 9 Mar 1993 17:03:08 +0000 (17:03 +0000)
committerJim Blandy <jimb@red-bean.com>
Tue, 9 Mar 1993 17:03:08 +0000 (17:03 +0000)
regex.c

diff --git a/regex.c b/regex.c
index eda11b5350a09d626ef973f7d76129061d8a8cfd..cb94d597c6f7a49785d9fdc5a5731ecb050232a8 100644 (file)
--- a/regex.c
+++ b/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++])