aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-07 03:21:46 +0000
committerRichard M. Stallman1998-04-07 03:21:46 +0000
commite71b197157bd0e366edf5ac706134c4dc3759833 (patch)
treec36c39b2406e3c486a8a595240d1edbdd52e402b
parent69927a6cec053674035c48b247ae303e23d0ec89 (diff)
downloademacs-e71b197157bd0e366edf5ac706134c4dc3759833.tar.gz
emacs-e71b197157bd0e366edf5ac706134c4dc3759833.zip
(re_match_2_internal): Declare buf_ch unsigned int.
-rw-r--r--src/regex.c4
1 files 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)
4500 do 4500 do
4501 { 4501 {
4502 int pat_charlen, buf_charlen; 4502 int pat_charlen, buf_charlen;
4503 int pat_ch, buf_ch; 4503 unsigned int pat_ch, buf_ch;
4504 4504
4505 PREFETCH (); 4505 PREFETCH ();
4506 pat_ch = STRING_CHAR_AND_LENGTH (p, pend - p, pat_charlen); 4506 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)
4543 case anychar: 4543 case anychar:
4544 { 4544 {
4545 int buf_charlen; 4545 int buf_charlen;
4546 int buf_ch; 4546 unsigned int buf_ch;
4547 4547
4548 DEBUG_PRINT1 ("EXECUTING anychar.\n"); 4548 DEBUG_PRINT1 ("EXECUTING anychar.\n");
4549 4549