diff options
author | Tony Cook <tony@develop-help.com> | 2011-01-21 09:51:37 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2011-01-21 10:05:04 +1100 |
commit | dabded94d9487ef15c93113dcf570c71e159f350 (patch) | |
tree | 5754d759f2b3bcb64a45c32d45a09e27225ef697 | |
parent | d854cd1874a47794602248cb25427161226874f9 (diff) | |
download | perl-dabded94d9487ef15c93113dcf570c71e159f350.tar.gz |
provide an explicit cast to the enum parameter for C++
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } } |