summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-05-09 12:07:54 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-09 14:32:31 +0200
commitf9a1fd2a3b2d8212ba84ef1c3b55657ced34475e (patch)
tree6f52d9b1c554b35b7d9e79fbf952726c4e92b88d
parent3a466defd40b2a26f262501263d38461f1721b68 (diff)
downloadsystemd-f9a1fd2a3b2d8212ba84ef1c3b55657ced34475e.tar.gz
test: JSON_BUILD_REAL nowadays expects 'double', not 'long double'
Follow-up for 337712e777bff389f53e26d5b378d2ceba7d98a8, aka "the great un-long-double-ification of 2021".
-rw-r--r--src/test/test-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-json.c b/src/test/test-json.c
index b385edc269..1178843f68 100644
--- a/src/test/test-json.c
+++ b/src/test/test-json.c
@@ -315,7 +315,7 @@ TEST(build) {
a = json_variant_unref(a);
b = json_variant_unref(b);
- assert_se(json_build(&a, JSON_BUILD_REAL(M_PIl)) >= 0);
+ assert_se(json_build(&a, JSON_BUILD_REAL(M_PI)) >= 0);
s = mfree(s);
assert_se(json_variant_format(a, 0, &s) >= 0);