From: Richard Stallman Date: Tue, 7 Apr 1998 03:21:46 +0000 (+0000) Subject: (re_match_2_internal): Declare buf_ch unsigned int. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e47a7f0ec2afe51c4c89bdf0696e0073bf786e1;p=pspp (re_match_2_internal): Declare buf_ch unsigned int. --- diff --git a/regex.c b/regex.c index 5f79663f23..2421f5a884 100644 --- a/regex.c +++ b/regex.c @@ -4500,7 +4500,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) do { int pat_charlen, buf_charlen; - int pat_ch, buf_ch; + unsigned int pat_ch, buf_ch; PREFETCH (); pat_ch = STRING_CHAR_AND_LENGTH (p, pend - p, pat_charlen); @@ -4543,7 +4543,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) case anychar: { int buf_charlen; - int buf_ch; + unsigned int buf_ch; DEBUG_PRINT1 ("EXECUTING anychar.\n");