From e71b197157bd0e366edf5ac706134c4dc3759833 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 7 Apr 1998 03:21:46 +0000 Subject: [PATCH] (re_match_2_internal): Declare buf_ch unsigned int. --- src/regex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 5f79663f231..2421f5a884f 100644 --- a/src/regex.c +++ b/src/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.39.2