(IV) vs (I32) vs I_V()
Jarkko Hietaniemi [Tue, 3 Nov 1998 07:49:35 +0000 (07:49 +0000)]
Subject: [PATCH 5.005_53] Reverting typecast in sv_upgrade()
From: Anton Berezin <tobez@plab.ku.dk>
To: "p5p" <perl5-porters@perl.org>
Date: 01 Nov 1998 15:09:11 +0100
Message-ID: <86hfwjtshk.fsf@lion.plab.ku.dk>

and

From: Andy Dougherty <doughera@lafcol.lafayette.edu>
Date: Mon, 2 Nov 1998 10:17:34 -0500 (EST)
Message-Id: <Pine.SUN.3.96.981102101433.4479B-100000@newton.phys>

p4raw-id: //depot/cfgperl@2185

sv.c

diff --git a/sv.c b/sv.c
index 9dfa4f6..2883518 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -694,7 +694,7 @@ sv_upgrade(register SV *sv, U32 mt)
        cur     = 0;
        len     = 0;
        nv      = SvNVX(sv);
-       iv      = (IV)nv;
+       iv      = I_V(nv);
        magic   = 0;
        stash   = 0;
        del_XNV(SvANY(sv));