summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/ldtoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/ldtoa.c')
-rw-r--r--newlib/libc/stdlib/ldtoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/ldtoa.c b/newlib/libc/stdlib/ldtoa.c
index d4457938f..bb12f0cc7 100644
--- a/newlib/libc/stdlib/ldtoa.c
+++ b/newlib/libc/stdlib/ldtoa.c
@@ -2868,10 +2868,10 @@ unsigned short e[NI];
LDPARMS rnd;
LDPARMS *ldp = &rnd;
+union uconv du;
+
rnd.rlast = -1;
rnd.rndprc = NBITS;
-
-union uconv du;
du.d = *d;
#if LDBL_MANT_DIG == 24
e24toe( &du.pe, e, ldp );