In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/f734918a4cae24e1ddecd84751b1497af5d56d9c?hp=ac2365fd3e6ee3859752ba66fcfe36bae3a4d2ac>

- Log -----------------------------------------------------------------
commit f734918a4cae24e1ddecd84751b1497af5d56d9c
Author: Lukas Mai <[email protected]>
Date:   Fri Oct 21 00:20:23 2016 +0200

    pp_ctl.c: silence compiler warning about mixing (un)signed types
    
    Commit d081a35540aca5fe changed PADOFFSET (the type of op_targ) to
    SSize_t (a signed type). It used to be unsigned.
    
    pp_ctl.c: In function ‘S_doeval_compile’:
    pp_ctl.c:3350:31: warning: signed and unsigned type in conditional 
expression [-Wsign-compare]
            ? oldcurcop->cop_hints : saveop->op_targ;
                                   ^
-----------------------------------------------------------------------

Summary of changes:
 pp_ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pp_ctl.c b/pp_ctl.c
index 8aa02d5..0eb032d 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3347,7 +3347,7 @@ S_doeval_compile(pTHX_ U8 gimme, CV* outside, U32 seq, HV 
*hh)
     }
     else {
        PL_hints = saveop->op_private & OPpEVAL_COPHH
-                    ? oldcurcop->cop_hints : saveop->op_targ;
+                    ? oldcurcop->cop_hints : (U32)saveop->op_targ;
 
         /* making 'use re eval' not be in scope when compiling the
          * qr/mabye_has_runtime_code_block/ ensures that we don't get

--
Perl5 Master Repository

Reply via email to