summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-01-21 04:51:50 +0000
committergrehan <grehan@FreeBSD.org>2004-01-21 04:51:50 +0000
commit74fadada7ae779d49148688c1c233f58cd58ea68 (patch)
tree0a0dd210e26706b32406f69fd8e1c4f09140d140 /lib/libc/gdtoa
parentcbf67a66c593c3ebfe7c7bf8753e040a66b904df (diff)
downloadFreeBSD-src-74fadada7ae779d49148688c1c233f58cd58ea68.zip
FreeBSD-src-74fadada7ae779d49148688c1c233f58cd58ea68.tar.gz
Updated manh shift constant type to 'ULL' for PPC to fix
shift-too-large compile error reviewed by: das
Diffstat (limited to 'lib/libc/gdtoa')
-rw-r--r--lib/libc/gdtoa/_hdtoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gdtoa/_hdtoa.c b/lib/libc/gdtoa/_hdtoa.c
index 1bfdb84..deb6582 100644
--- a/lib/libc/gdtoa/_hdtoa.c
+++ b/lib/libc/gdtoa/_hdtoa.c
@@ -326,7 +326,7 @@ __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign,
*/
#ifdef LDBL_IMPLICIT_NBIT
/* Don't trust the normalization bit to be off. */
- u.bits.manh &= ~(~0UL << (LDBL_MANH_SIZE - 1));
+ u.bits.manh &= ~(~0ULL << (LDBL_MANH_SIZE - 1));
#endif
if (u.bits.manh != 0) {
#if LDBL_MANH_SIZE > 32
OpenPOWER on IntegriCloud