diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-24 17:13:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-24 17:13:34 +0000 |
commit | 199f3245d0efbd4bc138ab358c5f5889c79d7083 (patch) | |
tree | 0114ad72ddd80bc2a7adeac01a31537fcbe8040b /cv.h | |
parent | 008fb49c17496ad9d8e3abe1ff0dc992e9aa5beb (diff) | |
download | perl-199f3245d0efbd4bc138ab358c5f5889c79d7083.tar.gz |
Reorder the union to cause Win32 compilers to use void * alignment for
it.
p4raw-id: //depot/perl@24569
Diffstat (limited to 'cv.h')
-rw-r--r-- | cv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,6 @@ struct xpvcv { STRLEN xpv_cur; /* length of xp_pv as a C string */ STRLEN xpv_len; /* allocated size */ union { - NV xnvu_nv; /* numeric value, if any */ struct { void *xnv_p1; union { @@ -24,6 +23,7 @@ struct xpvcv { IV xnv_i2; } xnv_u2; } xnv_s; + NV xnvu_nv; /* numeric value, if any */ } xnv_u; MAGIC* xmg_magic; /* magic for scalar array */ HV* xmg_stash; /* class package */ |