diff options
author | David Robillard <d@drobilla.net> | 2014-11-22 01:40:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-22 01:40:18 +0000 |
commit | da50a4902ee92fafd34c2ea376da07381d3a221d (patch) | |
tree | 7a3fdb1163059a76fb17aae9b3fed9b7e3fb7b57 /tests/serd_test.c | |
parent | 164337b78f11c7fdb5881df6262ea0d02a1cad6f (diff) | |
download | serd-da50a4902ee92fafd34c2ea376da07381d3a221d.tar.gz serd-da50a4902ee92fafd34c2ea376da07381d3a221d.tar.bz2 serd-da50a4902ee92fafd34c2ea376da07381d3a221d.zip |
Fix warnings when building with ISO C++ compilers.
git-svn-id: http://svn.drobilla.net/serd/trunk@477 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/serd_test.c')
-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); |