summaryrefslogtreecommitdiff
path: root/av.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-24 17:13:34 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-24 17:13:34 +0000
commit199f3245d0efbd4bc138ab358c5f5889c79d7083 (patch)
tree0114ad72ddd80bc2a7adeac01a31537fcbe8040b /av.h
parent008fb49c17496ad9d8e3abe1ff0dc992e9aa5beb (diff)
downloadperl-199f3245d0efbd4bc138ab358c5f5889c79d7083.tar.gz
Reorder the union to cause Win32 compilers to use void * alignment for
it. p4raw-id: //depot/perl@24569
Diffstat (limited to 'av.h')
-rw-r--r--av.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/av.h b/av.h
index 05e09c5698..a1f0259795 100644
--- a/av.h
+++ b/av.h
@@ -13,7 +13,6 @@ struct xpvav {
SSize_t xav_fill; /* Index of last element present */
SSize_t xav_max; /* max index for which array has space */
union {
- NV xnvu_nv;
struct {
void *xnv_p1; /* pointer to beginning of C array of SVs */
union {
@@ -21,6 +20,7 @@ struct xpvav {
IV xnv_i2;
} xnv_u2;
} xnv_s;
+ NV xnvu_nv;
} xnv_u;
MAGIC* xmg_magic; /* magic for scalar array */
HV* xmg_stash; /* class package */