summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-22 20:24:23 +0200
committerMax Kellermann <max@musicpd.org>2020-09-22 20:40:53 +0200
commit85af4d6916bf9d2bb7341fbb3c3d2cd4fbd835fa (patch)
tree1fafda363ac904e24b09512cb04eecd8ef0887a3 /test
parent6825e1144edbbc7c3f6cd02ffc50c08a901f08ad (diff)
meson.build: add -Wdouble-promotion
Diffstat (limited to 'test')
-rw-r--r--test/dump_rva2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx
index bd09edab2..9d07bfc26 100644
--- a/test/dump_rva2.cxx
+++ b/test/dump_rva2.cxx
@@ -41,7 +41,7 @@ DumpReplayGainTuple(const char *name, const ReplayGainTuple &tuple)
{
if (tuple.IsDefined())
fprintf(stderr, "replay_gain[%s]: gain=%f peak=%f\n",
- name, tuple.gain, tuple.peak);
+ name, (double)tuple.gain, (double)tuple.peak);
}
static void