diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-10-19 17:16:39 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-10-19 17:16:39 -0700 |
commit | 3602166ee56e8cc46087203f9902d06fe89e60d5 (patch) | |
tree | a4d91e4db6f63e5fab94e4b925ed41350d2d2211 /dump.c | |
parent | 1ccc3f315dfe4a506ca5bde163b3e89e9cec3fa5 (diff) | |
download | perl-3602166ee56e8cc46087203f9902d06fe89e60d5.tar.gz |
dump.c: Fix C++ build
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -275,8 +275,8 @@ Perl_pv_pretty( pTHX_ SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags ) { - const U8 *quotes = (flags & PERL_PV_PRETTY_QUOTE) ? "\"\"" : - (flags & PERL_PV_PRETTY_LTGT) ? "<>" : NULL; + const U8 *quotes = (U8*)((flags & PERL_PV_PRETTY_QUOTE) ? "\"\"" : + (flags & PERL_PV_PRETTY_LTGT) ? "<>" : NULL); STRLEN escaped; STRLEN max_adjust= 0; STRLEN orig_cur; |