diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-04-06 13:21:10 -0500 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-04-08 10:05:49 +0000 |
commit | 9d6ce603cdee7562a08f99e2c98401671e70d7f2 (patch) | |
tree | 685e999888360f32e845be35d07913701e622850 /ext/List | |
parent | 496c75d06af2807a5a803cfac56d43b1b2764fec (diff) | |
download | perl-9d6ce603cdee7562a08f99e2c98401671e70d7f2.tar.gz |
Refactoring to Sv*_set() macros - patch #1
Message-ID: <20050406232110.GA12249@mccoy.peters.homeunix.org>
Date: Wed, 6 Apr 2005 18:21:10 -0500
p4raw-id: //depot/perl@24199
Diffstat (limited to 'ext/List')
-rw-r--r-- | ext/List/Util/Util.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/List/Util/Util.xs b/ext/List/Util/Util.xs index 81e35cfd29..a1f956a6d6 100644 --- a/ext/List/Util/Util.xs +++ b/ext/List/Util/Util.xs @@ -353,7 +353,7 @@ CODE: (void)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_IVisUV |