blob: 54aafabdb92f6a886703ec2d5bf0f8b38ebdf5a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}
|