mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
14 lines
499 B
Diff
14 lines
499 B
Diff
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);
|
|
|
|
}
|
|
|