summaryrefslogtreecommitdiff
path: root/src/src/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/src/perl.c')
-rw-r--r--src/src/perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/perl.c b/src/src/perl.c
index 92218a6ef..5f4f0d98d 100644
--- a/src/src/perl.c
+++ b/src/src/perl.c
@@ -60,7 +60,7 @@ XS(xs_expand_string)
str = expand_string(US SvPV(ST(0), len));
ST(0) = sv_newmortal();
if (str != NULL)
- sv_setpv(ST(0), (const char *) str);
+ sv_setpv(ST(0), CCS str);
else if (!expand_string_forcedfail)
croak("syntax error in Exim::expand_string argument: %s",
expand_string_message);