Commit b90d9e80 authored by Richard M. Stallman's avatar Richard M. Stallman

(compile_pattern): Cast result of re_compile_pattern.

parent 7e2d009d
......@@ -99,9 +99,8 @@ compile_pattern (pattern, bufp, regp, translate)
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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment