Message-Id: <NAEKLNAAHLMBPMPNBMLEKEJCEAAA.rs@crystalflame.net>
p4raw-id: //depot/perl@12667
if(mg) {
if(strcmp(mg->mg_ptr,"threads::shared"))
break;
- ssv = (shared_sv*) SvIV(mg->mg_obj);
+ ssv = INT2PTR(shared_sv *, SvIV(mg->mg_obj));
break;
}
if(mg) {
SV* obj = SvTIED_obj(sv,mg);
if(sv_derived_from(obj, "threads::shared"))
- ssv = (shared_sv*) SvIV(SvRV(obj));
+ ssv = INT2PTR(shared_sv *, SvIV(SvRV(obj)));
break;
}
}