summaryrefslogtreecommitdiff
path: root/cv.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 /cv.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 'cv.h')
-rw-r--r--cv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index 4f9fb942a8..ba8364b9e6 100644
--- a/cv.h
+++ b/cv.h
@@ -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 */