summaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-15 23:33:21 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-16 12:43:24 -0700
commit6d91b5c7b21926137c63561e313afd1fb72274f8 (patch)
treefb3424a20e839954df416e1af8316fc3ca3b9f78 /src/command
parentfd71514068be53a98c8f4b87d3164fd632ab24cb (diff)
fix double promotions
Found with -Wdouble-promotion Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/command')
-rw-r--r--src/command/PlayerCommands.cxx2
1 files changed, 1 insertions, 1 deletions
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())