提交 0dc3cd40 authored 作者: Mike Jerris's avatar Mike Jerris

FS-11061: [core] fix build with newer pcre

上级 ed66e04f
......@@ -37,7 +37,7 @@ SWITCH_DECLARE(switch_regex_t *) switch_regex_compile(const char *pattern,
int options, const char **errorptr, int *erroroffset, const unsigned char *tables)
{
return pcre_compile(pattern, options, errorptr, erroroffset, tables);
return (switch_regex_t *)pcre_compile(pattern, options, errorptr, erroroffset, tables);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论