summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2019-09-15 08:45:52 +0200
committerNiels M?ller <nisse@lysator.liu.se>2019-09-15 08:45:52 +0200
commit9aacdb2db0b7fcf03d1d2522383b71cd695904dc (patch)
tree36df7a9d656ed239e86d9219a65bdcaf5bf9b3c9 /gmp-impl.h
parent053527715989fad2a417a52421076f2d7bf9b9b6 (diff)
downloadgmp-9aacdb2db0b7fcf03d1d2522383b71cd695904dc.tar.gz
Fix use of TMP_ALLOC in tuneup.c
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 293defd8a..6e155a4af 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -341,10 +341,10 @@ extern "C" {
TMP_MARK was made, but then no TMP_ALLOCs. */
/* The alignment in bytes, used for TMP_ALLOCed blocks, when alloca or
- __gmp_allocate_func doesn't already determine it. Currently TMP_ALLOC
- isn't used for "double"s, so that's not in the union. */
+ __gmp_allocate_func doesn't already determine it. */
union tmp_align_t {
mp_limb_t l;
+ double d;
char *p;
};
#define __TMP_ALIGN sizeof (union tmp_align_t)