From 2d79084e7a48592e949fe50a81536f0df146c5ac Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 7 Apr 1998 04:07:58 +0000 Subject: [PATCH] (re_match_2) : In unibyte case, set buf_ch as unsigned. --- regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex.c b/regex.c index 2421f5a88..29928e9df 100644 --- a/regex.c +++ b/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; } -- 2.11.0