summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
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");