From 74fadada7ae779d49148688c1c233f58cd58ea68 Mon Sep 17 00:00:00 2001 From: grehan Date: Wed, 21 Jan 2004 04:51:50 +0000 Subject: Updated manh shift constant type to 'ULL' for PPC to fix shift-too-large compile error reviewed by: das --- lib/libc/gdtoa/_hdtoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') 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 -- cgit v1.1