changeset 21404:feaa78f5c59f

(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 1982fb4daa3f
children 4370dfe3cfb3
files src/regex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Tue Apr 07 04:00:53 1998 +0000
+++ b/src/regex.c	Tue Apr 07 04:07:58 1998 +0000
@@ -4555,7 +4555,7 @@
 	    else
 #endif /* not emacs */
 	      {
-		buf_ch = *d;
+		buf_ch = (unsigned char) *d;
 		buf_charlen = 1;
 	      }