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

index eda11b5..cb94d59 100644 (file)
@@ -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++])