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

This commit is contained in:
Mike Jerris committed 2018-03-29 11:18:20 -04:00
1 parent 07bbb8c226
commit 930e7f3b0e
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}