X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/163144aab02a47427340d0ecc75e2abde675f4c9..3d2e82c5729148f3f88fbb7de7e6dcbc20d0c867:/src/src/expand.c diff --git a/src/src/expand.c b/src/src/expand.c index be6cd6162..cec6efd54 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -2893,7 +2893,7 @@ switch(cond_type = identify_operator(&s, &opname)) break; case ECOND_MATCH: /* Regular expression match */ - if (!(re = pcre_compile(CS sub[1], PCRE_COPT, (const char **)&rerror, + if (!(re = pcre_compile(CS sub[1], PCRE_COPT, CCSS &rerror, &roffset, NULL))) { expand_string_message = string_sprintf("regular expression error in " @@ -5834,7 +5834,7 @@ while (*s != 0) /* Compile the regular expression */ - if (!(re = pcre_compile(CS sub[1], PCRE_COPT, (const char **)&rerror, + if (!(re = pcre_compile(CS sub[1], PCRE_COPT, CCSS &rerror, &roffset, NULL))) { expand_string_message = string_sprintf("regular expression error in "