diff options
| author | Karl Heuer | 1998-04-07 04:07:58 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-04-07 04:07:58 +0000 |
| commit | 85bc1d4ea583f884fc60cdfd8cd3cdbedbb7db8e (patch) | |
| tree | 752d4dbfaf0a76d92d40a4279ac8ac2e5ddac327 /src/regex.c | |
| parent | aef8a36fb09453f4be66be9d04a16cd6e8f1fe44 (diff) | |
| download | emacs-85bc1d4ea583f884fc60cdfd8cd3cdbedbb7db8e.tar.gz emacs-85bc1d4ea583f884fc60cdfd8cd3cdbedbb7db8e.zip | |
(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c index 2421f5a884f..29928e9dfc2 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -4555,7 +4555,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) | |||
| 4555 | else | 4555 | else |
| 4556 | #endif /* not emacs */ | 4556 | #endif /* not emacs */ |
| 4557 | { | 4557 | { |
| 4558 | buf_ch = *d; | 4558 | buf_ch = (unsigned char) *d; |
| 4559 | buf_charlen = 1; | 4559 | buf_charlen = 1; |
| 4560 | } | 4560 | } |
| 4561 | 4561 | ||