summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 11:00:33 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 11:00:33 +0000
commit555831ceb3ad48ad47fd135f445c0332f0a2af9b (patch)
treefda73d36c3d63e801afc5d312453fb56e183a794
parentf8c7b90fa8a3676239aeea262e148f9a4e497558 (diff)
downloadperl-555831ceb3ad48ad47fd135f445c0332f0a2af9b.tar.gz
A mising cast (given that rx->subbeg is only char *)
p4raw-id: //depot/perl@24756
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index ecae4655e2..048e7e6b5b 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1398,7 +1398,7 @@ yup: /* Confirmed by INTUIT */
(int)(t-truebase));
}
rx->saved_copy = sv_setsv_cow(rx->saved_copy, TARG);
- rx->subbeg = SvPVX_const(rx->saved_copy) + (t - truebase);
+ rx->subbeg = (char *) SvPVX_const(rx->saved_copy) + (t - truebase);
assert (SvPOKp(rx->saved_copy));
} else
#endif