From 6d91b5c7b21926137c63561e313afd1fb72274f8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 15 Mar 2020 23:33:21 -0700 Subject: fix double promotions Found with -Wdouble-promotion Signed-off-by: Rosen Penev --- src/command/PlayerCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command') diff --git a/src/command/PlayerCommands.cxx b/src/command/PlayerCommands.cxx index ecd2156e5..06cbca313 100644 --- a/src/command/PlayerCommands.cxx +++ b/src/command/PlayerCommands.cxx @@ -149,7 +149,7 @@ handle_status(Client &client, [[maybe_unused]] Request args, Response &r) partition.name.c_str(), (unsigned long)playlist.GetVersion(), playlist.GetLength(), - pc.GetMixRampDb(), + (double)pc.GetMixRampDb(), state); if (pc.GetCrossFade() > FloatDuration::zero()) -- cgit v1.2.3