This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ccc3f3
)
dump.c: Fix C++ build
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 20 Oct 2014 00:16:39 +0000
(17:16 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 20 Oct 2014 00:16:39 +0000
(17:16 -0700)
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
4c5c76e
..
a8956c9
100644
(file)
--- 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;