mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
FS-11061: [core] fix build with newer pcre
This commit is contained in:
1 parent
ed66e04faa
commit
0dc3cd405d
1 file changed
+1
-1
+1
-1
@@ -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)
|
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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user