summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-07-16 21:59:02 +0200
committerSteve Peters <steve@fisharerojo.org>2006-07-16 19:12:28 +0000
commitddc5bc0f233514fa61cd95e6ed80ba2bacf933ac (patch)
tree32578e962eb314f1d16a4f8c2ff2394bc94da1ef /regcomp.h
parenta8e98a71556fbd9e6c697657a31303cd3f47c4b5 (diff)
downloadperl-ddc5bc0f233514fa61cd95e6ed80ba2bacf933ac.tar.gz
Re: Fix loads of warnings from the last escaping patch...
Message-ID: <9b18b3110607161059j276ac869p450aa178150044ae@mail.gmail.com> p4raw-id: //depot/perl@28589
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/regcomp.h b/regcomp.h
index e46f6f4659..5c35f634d0 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -631,20 +631,20 @@ re.pm, especially to the documentation.
#define RE_PV_COLOR_DECL(rpv,rlen,isuni,dsv,pv,l,m,c1,c2) \
const char * const rpv = \
- pv_pretty((dsv), (U8*)(pv), (l), (m), \
+ pv_pretty((dsv), (pv), (l), (m), \
PL_colors[(c1)],PL_colors[(c2)], \
((isuni) ? PERL_PV_ESCAPE_UNI : 0) ); \
const int rlen = SvCUR(dsv)
#define RE_SV_ESCAPE(rpv,isuni,dsv,sv,m) \
const char * const rpv = \
- pv_pretty((dsv), (U8*)(SvPV_nolen_const(sv)), (SvCUR(sv)), (m), \
+ pv_pretty((dsv), (SvPV_nolen_const(sv)), (SvCUR(sv)), (m), \
PL_colors[(c1)],PL_colors[(c2)], \
((isuni) ? PERL_PV_ESCAPE_UNI : 0) )
#define RE_PV_QUOTED_DECL(rpv,isuni,dsv,pv,l,m) \
const char * const rpv = \
- pv_pretty((dsv), (U8*)(pv), (l), (m), \
+ pv_pretty((dsv), (pv), (l), (m), \
PL_colors[0], PL_colors[1], \
( PERL_PV_PRETTY_QUOTE | PERL_PV_PRETTY_ELIPSES | \
((isuni) ? PERL_PV_ESCAPE_UNI : 0)) \