]> git.eshelyaron.com Git - emacs.git/commitdiff
(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.
authorKarl Heuer <kwzh@gnu.org>
Tue, 7 Apr 1998 04:07:58 +0000 (04:07 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 7 Apr 1998 04:07:58 +0000 (04:07 +0000)
src/regex.c

index 2421f5a884f9d169b83ccb9c7fe097c283caa553..29928e9dfc2ea86c271373cb35d12ff892e1f508 100644 (file)
@@ -4555,7 +4555,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
            else
 #endif /* not emacs */
              {
-               buf_ch = *d;
+               buf_ch = (unsigned char) *d;
                buf_charlen = 1;
              }