summaryrefslogtreecommitdiff
path: root/lib/libc/gdtoa
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2004-01-21 04:51:50 +0000
committerPeter Grehan <grehan@FreeBSD.org>2004-01-21 04:51:50 +0000
commitb12b51fb53fbc006240725585435ea13c003f72c (patch)
tree0a0dd210e26706b32406f69fd8e1c4f09140d140 /lib/libc/gdtoa
parent88a86dedcea9e9bf926b1e02158bf0df09ebfe7e (diff)
Notes
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 1bfdb84cfc3f..deb65821952c 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