From 5e47a7f0ec2afe51c4c89bdf0696e0073bf786e1 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 7 Apr 1998 03:21:46 +0000 Subject: [PATCH] (re_match_2_internal): Declare buf_ch unsigned int. --- regex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.30.2