summaryrefslogtreecommitdiffstats
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-02-28 19:38:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-02-28 19:38:51 (GMT)
commit5e67cded409218e4957c0921cd6b0dca7ba63317 (patch)
treeb479694d6bdc2eceaa86ce9e41b2420826017ab1 /Include/objimpl.h
parentc948966fc4bc301e375d059a23c716a99aef4352 (diff)
downloadcpython-5e67cded409218e4957c0921cd6b0dca7ba63317.zip
cpython-5e67cded409218e4957c0921cd6b0dca7ba63317.tar.gz
cpython-5e67cded409218e4957c0921cd6b0dca7ba63317.tar.bz2
PyGC_Head: Use "long double" instead of "double" as the worst-case
alignment gimmick. David Abrahams notes that the standard "long double" actually requires stricter alignment than "double" on some Tru64 box. On my box and yours <wink>, it's the same, so no harm done on most boxes.
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index e8aad54..a616620 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -272,7 +272,7 @@ typedef union _gc_head {
union _gc_head *gc_prev;
int gc_refs;
} gc;
- double dummy; /* force worst-case alignment */
+ long double dummy; /* force worst-case alignment */
} PyGC_Head;
extern PyGC_Head _PyGC_generation0;