comparison src/regex.c @ 21401:7afa39c82ea2

(re_match_2_internal): Declare buf_ch unsigned int.
author Richard M. Stallman <rms@gnu.org>
date Tue, 07 Apr 1998 03:21:46 +0000
parents b9275822b6f5
children feaa78f5c59f
comparison
equal deleted inserted replaced
21400:d2b302f002af 21401:7afa39c82ea2
4498 #ifdef emacs 4498 #ifdef emacs
4499 if (multibyte) 4499 if (multibyte)
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);
4507 buf_ch = STRING_CHAR_AND_LENGTH (d, dend - d, buf_charlen); 4507 buf_ch = STRING_CHAR_AND_LENGTH (d, dend - d, buf_charlen);
4508 4508
4541 4541
4542 /* Match any character except possibly a newline or a null. */ 4542 /* Match any character except possibly a newline or a null. */
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
4550 PREFETCH (); 4550 PREFETCH ();
4551 4551