diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2013-01-14 17:59:55 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2013-01-14 18:00:13 +0000 |
commit | 8f939fab8ea456dff01a2f5c368b664623f9293b (patch) | |
tree | 95cb9bddf86e7d1f974a029689587777f244a62f | |
parent | 5e0a247b35271159d629ea8562732e0993ed4594 (diff) | |
download | perl-8f939fab8ea456dff01a2f5c368b664623f9293b.tar.gz |
Silence a couple of warnings
("'initializing' : conversion from 'I32' to 'U8', possible loss of data"
and "formal parameter n different from declaration".)
-rw-r--r-- | cop.h | 2 | ||||
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | proto.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -605,7 +605,7 @@ struct block_format { (PL_op->op_flags & OPf_WANT) \ ? OPpENTERSUB_LVAL_MASK \ : !(PL_op->op_private & OPpENTERSUB_LVAL_MASK) \ - ? 0 : Perl_was_lvalue_sub(aTHX); \ + ? 0 : (U8)Perl_was_lvalue_sub(aTHX); \ PUSHSUB_BASE(cx) \ cx->blk_u16 = PL_op->op_private & \ (phlags|OPpDEREF); \ @@ -288,7 +288,7 @@ Afnp |int |printf_nocontext|NN const char *format|... p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \ |const int code|NULLOK int * const opnum : Used in gv.c -p |OP * |coresub_op |NN SV *coreargssv|const int code \ +p |OP * |coresub_op |NN SV *const coreargssv|const int code \ |const int opnum : Used in sv.c p |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\ @@ -657,7 +657,7 @@ PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const int #define PERL_ARGS_ASSERT_CORE_PROTOTYPE \ assert(name) -PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *coreargssv, const int code, const int opnum) +PERL_CALLCONV OP * Perl_coresub_op(pTHX_ SV *const coreargssv, const int code, const int opnum) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_CORESUB_OP \ assert(coreargssv) |