diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-10-06 19:23:59 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-10-06 19:23:59 +0000 |
commit | 5e701d2b387367c0635d086a48c2c127105ac337 (patch) | |
tree | a6ca174258661ce52874e6f409c3d64588092bee /ext | |
parent | 9237a471130e1e59caf11c4141aedcf1ed2ffdce (diff) | |
download | perl-5e701d2b387367c0635d086a48c2c127105ac337.tar.gz |
Convert lvalue usage of SvNVX() and SvIVX() to SvNV_set() and
SvIV_set(). Otherwise, compiling with -DPERL_DEBUG_COW fails.
p4raw-id: //depot/perl@25708
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Compress/Zlib/Zlib.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/Compress/Zlib/Zlib.xs b/ext/Compress/Zlib/Zlib.xs index 3fce623cd4..5d648903ed 100644 --- a/ext/Compress/Zlib/Zlib.xs +++ b/ext/Compress/Zlib/Zlib.xs @@ -722,7 +722,7 @@ CODE: SvUPGRADE(ST(0),SVt_PVNV); sv_setpvn(ST(0),ptr,len); if(SvNOK(num) || SvPOK(num) || SvMAGICAL(num)) { - SvNVX(ST(0)) = SvNV(num); + SvNV_set(ST(0), SvNV(num)); SvNOK_on(ST(0)); } #ifdef SVf_IVisUVXXXX @@ -733,7 +733,7 @@ CODE: } #endif else { - SvIVX(ST(0)) = SvIV(num); + SvIV_set(ST(0), SvIV(num)); SvIOK_on(ST(0)); } XSRETURN(1); |