diff options
-rw-r--r-- | ext/ByteLoader/byterun.c | 2 | ||||
-rw-r--r-- | lib/ExtUtils/t/Constant.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ByteLoader/byterun.c b/ext/ByteLoader/byterun.c index f11014746f..d2f424273f 100644 --- a/ext/ByteLoader/byterun.c +++ b/ext/ByteLoader/byterun.c @@ -242,7 +242,7 @@ byterun(pTHX_ register struct byteloader_state *bstate) { IV arg; BGET_IV(arg); - SvIVX(bstate->bs_sv) = arg; + SvIV_set(bstate->bs_sv, arg); break; } case INSN_XNV: /* 26 */ diff --git a/lib/ExtUtils/t/Constant.t b/lib/ExtUtils/t/Constant.t index 4a1657ccb7..0ef797a2b0 100644 --- a/lib/ExtUtils/t/Constant.t +++ b/lib/ExtUtils/t/Constant.t @@ -508,7 +508,7 @@ EOT {name=>"RFC1149", type=>"SV", value=>"sv_2mortal(temp_sv)", pre=>"SV *temp_sv = newSVpv(RFC1149, 0); " . "(void) SvUPGRADE(temp_sv,SVt_PVIV); SvIOK_on(temp_sv); " - . "SvIVX(temp_sv) = 1149;"}, + . "SvIV_set(temp_sv, 1149);"}, ); push @items, $_ foreach keys %compass; |