diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-01-06 18:09:03 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-01-06 18:09:03 +0000 |
commit | ef9ec799de4cf350af374bf46392522626d67771 (patch) | |
tree | 440235ffd1f8af84915ed63caa47b209d720ac0e /toke.c | |
parent | 0bcad44866d568fabf1c657f93cebd46d1fe1d95 (diff) | |
download | perl-ef9ec799de4cf350af374bf46392522626d67771.tar.gz |
Add cast in S_printbuf to compensate for the fact that the prototype
for pv_display in maint has not had const added.
p4raw-id: //depot/maint-5.8/perl@26678
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -355,7 +355,8 @@ STATIC void S_printbuf(pTHX_ const char* fmt, const char* s) { SV* tmp = newSVpvn("", 0); - PerlIO_printf(Perl_debug_log, fmt, pv_display(tmp, s, strlen(s), 0, 60)); + PerlIO_printf(Perl_debug_log, fmt, + pv_display(tmp, (char *)s, strlen(s), 0, 60)); SvREFCNT_dec(tmp); } |