summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-17 03:59:57 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-17 03:59:57 +0000
commit3cfcebc8859353687a81ad1227d9fdb3e060b483 (patch)
tree527dcb5a775c0ef229522cbd1a9dbf2c1cfab6ec
parent2047317f3b3d746b001150aa79bbb7b2a9b14f81 (diff)
(_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make all numbers unsigned to
make buggy gccs happy.
-rw-r--r--stdlib/strtod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index 17826b9d1a..7907dedde3 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -106,10 +106,10 @@ static const mp_limb_t _tens_in_limb[MAX_DIG_PER_LIMB + 1] =
1000000, 10000000, 100000000,
1000000000
#if BITS_PER_MP_LIMB > 32
- , 10000000000, 100000000000,
- 1000000000000, 10000000000000, 100000000000000,
- 1000000000000000, 10000000000000000, 100000000000000000,
- 1000000000000000000, 10000000000000000000U
+ , 10000000000U, 100000000000U,
+ 1000000000000U, 10000000000000U, 100000000000000U,
+ 1000000000000000U, 10000000000000000U, 100000000000000000U,
+ 1000000000000000000U, 10000000000000000000U
#endif
#if BITS_PER_MP_LIMB > 64
#error "Need to expand tens_in_limb table to" MAX_DIG_PER_LIMB