From: Karl Heuer Date: Tue, 7 Apr 1998 04:07:58 +0000 (+0000) Subject: (re_match_2) : In unibyte case, set buf_ch as unsigned. X-Git-Tag: emacs-20.3~1670 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=85bc1d4ea583f884fc60cdfd8cd3cdbedbb7db8e;p=emacs.git (re_match_2) : In unibyte case, set buf_ch as unsigned. --- diff --git a/src/regex.c b/src/regex.c index 2421f5a884f..29928e9dfc2 100644 --- a/src/regex.c +++ b/src/regex.c @@ -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; }