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:
689d842
)
silence warning after "Fold join to const or stringify where possible"
author
Daniel Dragan
<bulk88@hotmail.com>
Mon, 13 Oct 2014 19:20:30 +0000
(15:20 -0400)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 13 Oct 2014 21:09:48 +0000
(14:09 -0700)
VC 2003
op.c(4022) : warning C4244: '=' : conversion from 'unsigned short' to
'char', possible loss of data
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
5259338
..
6b87a55
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-4019,7
+4019,7
@@
S_fold_constants(pTHX_ OP *o)
if (ret)
goto nope;
- folded =
o->op_folded
;
+ folded =
cBOOL(o->op_folded)
;
op_free(o);
assert(sv);
if (type == OP_STRINGIFY) SvPADTMP_off(sv);