From 5cbdb2d0563613ffda76fc32f9a6357d3d2bee4b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 12 Mar 2025 08:40:27 -0400 Subject: Avoid implicit double promotion --- test/test_node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_node.c b/test/test_node.c index eb432c40..b65d83bc 100644 --- a/test/test_node.c +++ b/test/test_node.c @@ -71,8 +71,8 @@ test_double_to_node(void) -16.00001, 5.000000005, 0.0000000001, - NAN, - INFINITY}; + (double)NAN, + (double)INFINITY}; const char* dbl_test_strs[] = {"0.0", "9.0", -- cgit v1.2.1