summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 7b9f53f240..3055876890 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4887,7 +4887,7 @@ Perl_pregfree(pTHX_ struct regexp *r)
s = (r->reganch & ROPT_UTF8) ? pv_uni_display(dsv, (U8*)r->precomp,
r->prelen, 60, UNI_DISPLAY_REGEX)
- : pv_display(dsv, (U8*)r->precomp, r->prelen, 0, 60);
+ : pv_display(dsv, r->precomp, r->prelen, 0, 60);
len = SvCUR(dsv);
if (!PL_colorset)
reginitcolors();