From 504618e92cbf415cc727244b0e64aab9ddfb1c10 Mon Sep 17 00:00:00 2001 From: Andy Lester Date: Sat, 21 May 2005 04:06:40 -0500 Subject: embed.fnc cleanup + SvPVX_const usage Message-ID: <20050521140640.GB875@petdance.com> p4raw-id: //depot/perl@24561 --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utf8.c') diff --git a/utf8.c b/utf8.c index 35fbe3867d..02e202dabb 100644 --- a/utf8.c +++ b/utf8.c @@ -521,7 +521,7 @@ malformed: } if (warning) { - char *s = SvPVX(sv); + const char *s = SvPVX_const(sv); if (PL_op) Perl_warner(aTHX_ packWARN(WARN_UTF8), -- cgit v1.2.1