summary refs log tree commit diff
path: root/stdlib/tst-strtod.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-06-25 14:21:44 +0000
committerAndreas Jaeger <aj@suse.de>2003-06-25 14:21:44 +0000
commitc53320c0c9cbbe8810f8f48d526c42031288af80 (patch)
treeb9bcc622dcc11e8d0ab5f2247230e3340156b2a0 /stdlib/tst-strtod.c
parent346f3a9016179e2ee492bb7d58ce790a6ce18c84 (diff)
downloadglibc-c53320c0c9cbbe8810f8f48d526c42031288af80.tar.gz
glibc-c53320c0c9cbbe8810f8f48d526c42031288af80.tar.xz
glibc-c53320c0c9cbbe8810f8f48d526c42031288af80.zip
Update.
	* stdlib/tst-strtod.c (main): Declare constant long double as
	suggested by Jakub Jelinek and Andreas Schwab.
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r--stdlib/tst-strtod.c2
1 files changed, 1 insertions, 1 deletions
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);