summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-10-19 17:16:39 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-10-19 17:16:39 -0700
commit3602166ee56e8cc46087203f9902d06fe89e60d5 (patch)
treea4d91e4db6f63e5fab94e4b925ed41350d2d2211
parent1ccc3f315dfe4a506ca5bde163b3e89e9cec3fa5 (diff)
downloadperl-3602166ee56e8cc46087203f9902d06fe89e60d5.tar.gz
dump.c: Fix C++ build
-rw-r--r--dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index 4c5c76e84f..a8956c95f4 100644
--- a/dump.c
+++ b/dump.c
@@ -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;