summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/floatuntidf.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
commit665671ec897f2f1ba7fe632895a47330389fda40 (patch)
tree340c656a5ab1da4615e6ccc71476bede340c2629 /compiler-rt/lib/floatuntidf.c
parentd194e13b8d94c7eec1fcb7242b43860619fe881a (diff)
downloadbcm5719-llvm-665671ec897f2f1ba7fe632895a47330389fda40.tar.gz
bcm5719-llvm-665671ec897f2f1ba7fe632895a47330389fda40.zip
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky.
llvm-svn: 80913
Diffstat (limited to 'compiler-rt/lib/floatuntidf.c')
-rw-r--r--compiler-rt/lib/floatuntidf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/floatuntidf.c b/compiler-rt/lib/floatuntidf.c
index 2e8369e9ea9..51d8b2827a3 100644
--- a/compiler-rt/lib/floatuntidf.c
+++ b/compiler-rt/lib/floatuntidf.c
@@ -74,9 +74,9 @@ __floatuntidf(tu_int a)
/* a is now rounded to DBL_MANT_DIG bits */
}
double_bits fb;
- fb.u.high = ((e + 1023) << 20) | /* exponent */
+ fb.u.s.high = ((e + 1023) << 20) | /* exponent */
((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
- fb.u.low = (su_int)a; /* mantissa-low */
+ fb.u.s.low = (su_int)a; /* mantissa-low */
return fb.f;
}
OpenPOWER on IntegriCloud