summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-06-30 17:32:17 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-07-04 02:28:43 +0000
commit27612d381563b0da0efa0a129145c33b5008c70c (patch)
treeb5abcdca536f1deaad9aa3d63172fd8d4e256a84 /pp.c
parent167b9ebce1370822e3adc91ae2094f2b80621ae9 (diff)
downloadperl-27612d381563b0da0efa0a129145c33b5008c70c.tar.gz
fix use of uninitialized var in pp_unpack()
Message-Id: <199806301132.OAA27353@alpha.hut.fi> Subject: [PATCH] 5.004_69 (also for 5.004_04) one more^Wless quad bug p4raw-id: //depot/perl@1284
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 3d7638e5db..55ab5d1cdd 100644
--- a/pp.c
+++ b/pp.c
@@ -3476,7 +3476,7 @@ PP(pp_unpack)
s += sizeof(unsigned Quad_t);
}
sv = NEWSV(43, 0);
- if (aquad <= UV_MAX)
+ if (auquad <= UV_MAX)
sv_setuv(sv, (UV)auquad);
else
sv_setnv(sv, (double)auquad);