]> git.eshelyaron.com Git - emacs.git/commitdiff
(re_match_2_internal): Declare buf_ch unsigned int.
authorRichard M. Stallman <rms@gnu.org>
Tue, 7 Apr 1998 03:21:46 +0000 (03:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 7 Apr 1998 03:21:46 +0000 (03:21 +0000)
src/regex.c

index 5f79663f2314c1f4422fc75bdd922c2666b13c06..2421f5a884f9d169b83ccb9c7fe097c283caa553 100644 (file)
@@ -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");