aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-03-12 08:40:27 -0400
committerDavid Robillard <d@drobilla.net>2025-03-16 20:22:37 -0400
commit5cbdb2d0563613ffda76fc32f9a6357d3d2bee4b (patch)
tree377c35dcb53895e60118c67b5cb222ebb860c4e3 /test
parent71a5b8e72ad812ed62c27794439d745fd66c5220 (diff)
downloadserd-5cbdb2d0563613ffda76fc32f9a6357d3d2bee4b.tar.gz
serd-5cbdb2d0563613ffda76fc32f9a6357d3d2bee4b.tar.bz2
serd-5cbdb2d0563613ffda76fc32f9a6357d3d2bee4b.zip
Avoid implicit double promotion
Diffstat (limited to 'test')
-rw-r--r--test/test_node.c4
1 files changed, 2 insertions, 2 deletions
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",