summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-06-09 05:05:56 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-06-09 15:12:39 +0000
commita28509cc00517ad2ad1f6e022f1be6ab8f1ad18e (patch)
treed3564c6a9d7aeb6ddd157fc2aac4f3ac51471584 /mg.c
parentb83604b4e5062f93776f6a381f822df058667e23 (diff)
downloadperl-a28509cc00517ad2ad1f6e022f1be6ab8f1ad18e.tar.gz
regcomp.c and more
Message-ID: <20050609150556.GA30554@petdance.com> p4raw-id: //depot/perl@24780
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index e49b26ea1f..4b31e4bb56 100644
--- a/mg.c
+++ b/mg.c
@@ -493,7 +493,7 @@ Perl_magic_len(pTHX_ SV *sv, MAGIC *mg)
i = t1 - s1;
getlen:
if (i > 0 && RX_MATCH_UTF8(rx)) {
- char *s = rx->subbeg + s1;
+ const char * const s = rx->subbeg + s1;
const U8 *ep;
STRLEN el;