From: Andreas Jaeger Date: Wed, 25 Jun 2003 14:21:44 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~525 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c53320c0c9cbbe8810f8f48d526c42031288af80;p=glibc.git Update. * stdlib/tst-strtod.c (main): Declare constant long double as suggested by Jakub Jelinek and Andreas Schwab. --- diff --git a/ChangeLog b/ChangeLog index d0accd10cc..334e28250c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-06-25 Andreas Jaeger + * stdlib/tst-strtod.c (main): Declare constant long double as + suggested by Jakub Jelinek and Andreas Schwab. + * posix/tst-nanosleep.c: Include for nanosleep declaration. diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index 2b93bbd95c..f9ab583ca0 100644 --- a/stdlib/tst-strtod.c +++ b/stdlib/tst-strtod.c @@ -150,7 +150,7 @@ main (int argc, char ** argv) } const char input2[] = "+1.000000000116415321826934814453125"; - if (strtold (input2, NULL) != +1.000000000116415321826934814453125) + if (strtold (input2, NULL) != +1.000000000116415321826934814453125L) { printf ("input2: %La != %La\n", strtold (input2, NULL), +1.000000000116415321826934814453125L);