NV nv;
MAGIC* magic;
HV* stash;
- void* old_body_arena;
+ void** old_body_arena;
size_t old_body_offset;
size_t old_body_length; /* Well, the length to copy. */
void* old_body;
break;
case SVt_NV:
nv = SvNVX(sv);
- old_body_arena = PL_xnv_root;
+ old_body_arena = (void **) &PL_xnv_root;
old_body_length = sizeof(NV);
zero_nv = FALSE;
pv = SvPVX_mutable(sv);
cur = SvCUR(sv);
len = SvLEN(sv);
- old_body_arena = PL_xpv_root;
+ old_body_arena = (void **) &PL_xpv_root;
old_body_offset = STRUCT_OFFSET(XPV, xpv_cur)
- STRUCT_OFFSET(xpv_allocated, xpv_cur);
old_body_length = sizeof(XPV) - old_body_offset;
cur = SvCUR(sv);
len = SvLEN(sv);
iv = SvIVX(sv);
- old_body_arena = PL_xpviv_root;
+ old_body_arena = (void **) &PL_xpviv_root;
old_body_offset = STRUCT_OFFSET(XPVIV, xpv_cur)
- STRUCT_OFFSET(xpviv_allocated, xpv_cur);
old_body_length = sizeof(XPVIV) - old_body_offset;
len = SvLEN(sv);
iv = SvIVX(sv);
nv = SvNVX(sv);
- old_body_arena = PL_xpvnv_root;
+ old_body_arena = (void **) &PL_xpvnv_root;
old_body_length = sizeof(XPVNV);
zero_nv = FALSE;
break;
nv = SvNVX(sv);
magic = SvMAGIC(sv);
stash = SvSTASH(sv);
- old_body_arena = PL_xpvmg_root;
+ old_body_arena = (void **) &PL_xpvmg_root;
old_body_length = sizeof(XPVMG);
zero_nv = FALSE;
break;