diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serd_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c index 971d6e01..eecbb5b0 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -45,7 +45,7 @@ static bool test_strtod(double dbl, double max_delta) { char buf[1024]; - snprintf(buf, sizeof(buf), "%lf", dbl); + snprintf(buf, sizeof(buf), "%f", dbl); char* endptr = NULL; const double out = serd_strtod(buf, &endptr); |