BGET_U32(arg); \
if (arg) { \
New(666, bstate->bs_pv.xpv_pv, arg, char); \
- bl_read(bstate->bs_fdata, (void*)bstate->bs_pv.xpv_pv, arg, 1);\
+ bl_read(bstate->bs_fdata, bstate->bs_pv.xpv_pv, arg, 1); \
bstate->bs_pv.xpv_len = arg; \
bstate->bs_pv.xpv_cur = arg - 1; \
} else { \
#if defined(PL_OP_SLAB_ALLOC)
#define NewOp(m,var,c,type) \
- STMT_START { \
- var = (type *) Perl_Slab_Alloc(aTHX_ m,c*sizeof(type));\
- } STMT_END
+ (var = (type *) Perl_Slab_Alloc(aTHX_ m,c*sizeof(type)))
#define NewOpSz(m,var,size) \
- STMT_START { var = (OP *) Perl_Slab_Alloc(aTHX_ m,size); } STMT_END
+ (var = (OP *) Perl_Slab_Alloc(aTHX_ m,size))
#define FreeOp(p) Perl_Slab_Free(aTHX_ p)
#else
#define NewOp(m, var, c, type) Newz(m, var, c, type)
-#define NewOpSz(m, var, size) Newz(m, (char*)var, size, char)
+#define NewOpSz(m, var, size) \
+ (var = (OP*)safemalloc(size), memzero(var, size))
#define FreeOp(p) Safefree(p)
#endif