changeset 1313:047101c8fdce

(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.
author Karl Heuer <kwzh@gnu.org>
date Tue, 07 Apr 1998 04:07:58 +0000
parents a9a56c9deb21
children e9099e14c3ba
files regex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/regex.c
+++ b/regex.c
@@ -4555,7 +4555,7 @@
 	    else
 #endif /* not emacs */
 	      {
-		buf_ch = *d;
+		buf_ch = (unsigned char) *d;
 		buf_charlen = 1;
 	      }