summaryrefslogtreecommitdiff
path: root/tests/tset_ld.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tset_ld.c')
-rw-r--r--tests/tset_ld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_ld.c b/tests/tset_ld.c
index feda8eaaf..f64227b19 100644
--- a/tests/tset_ld.c
+++ b/tests/tset_ld.c
@@ -106,7 +106,7 @@ print_binary (long double d, int flag)
/* now e <= d < 2e */
if (flag)
printf ("0.");
- while (d > 0)
+ while (d > (long double) 0.0)
{
prec++;
if (d >= e)