diff options
Diffstat (limited to 'main/freeswitch/pcre.patch')
-rw-r--r-- | main/freeswitch/pcre.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/freeswitch/pcre.patch b/main/freeswitch/pcre.patch new file mode 100644 index 0000000000..54aafabdb9 --- /dev/null +++ b/main/freeswitch/pcre.patch @@ -0,0 +1,13 @@ +diff --git a/src/switch_regex.c b/src/switch_regex.c +index 0531491..0435115 100644 +--- a/src/switch_regex.c ++++ b/src/switch_regex.c +@@ -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); + + } + |