Mercurial > emacs
changeset 4635:ad4add779dac
(compile_pattern): Cast result of re_compile_pattern.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Aug 1993 20:16:43 +0000 |
parents | cd8eef9ec0c4 |
children | bb0ec6a82089 |
files | src/search.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Sat Aug 14 19:52:32 1993 +0000 +++ b/src/search.c Sat Aug 14 20:16:43 1993 +0000 @@ -99,9 +99,8 @@ last_regexp = Qnil; bufp->translate = translate; BLOCK_INPUT; - val = re_compile_pattern ((char *) XSTRING (pattern)->data, - XSTRING (pattern)->size, - bufp); + val = (CONST char *) re_compile_pattern ((char *) XSTRING (pattern)->data, + XSTRING (pattern)->size, bufp); UNBLOCK_INPUT; if (val) {