summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-16 22:47:00 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-16 22:56:30 -0700
commita5b136c420ad40579440a1970843067908c85f56 (patch)
tree9533d888dc410399bfe4aaf3ef8b8bdb55a7e7f7 /test
parentc7144ed5c75783357671d60b44ba5ddb89b64e5e (diff)
test: fix double promotion
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/DumpDecoderClient.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DumpDecoderClient.cxx b/test/DumpDecoderClient.cxx
index f107cc53a..23664b0a4 100644
--- a/test/DumpDecoderClient.cxx
+++ b/test/DumpDecoderClient.cxx
@@ -121,7 +121,7 @@ DumpReplayGainTuple(const char *name, const ReplayGainTuple &tuple) noexcept
{
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