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:
d854cd1
)
provide an explicit cast to the enum parameter for C++
author
Tony Cook
<tony@develop-help.com>
Thu, 20 Jan 2011 22:51:37 +0000
(09:51 +1100)
committer
Tony Cook
<tony@develop-help.com>
Thu, 20 Jan 2011 23:05:04 +0000
(10:05 +1100)
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
b0a04dd
..
bb1d9a8
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-3792,7
+3792,7
@@
Perl_newPMOP(pTHX_ I32 type, I32 flags)
PL_compiling.cop_hints_hash, STR_WITH_LEN("reflags_charset"), 0, 0
);
if (reflags && SvOK(reflags)) {
- set_regex_charset(&(pmop->op_pmflags), SvIV(reflags));
+ set_regex_charset(&(pmop->op_pmflags),
(regex_charset)
SvIV(reflags));
}
}