diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 12:40:30 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 14:14:34 +0200 |
commit | 6150355cd271c57adacbb100a91d4b7959afde8b (patch) | |
tree | 226d90c8db4340becab7d96f430915e61399884b /src/mixer | |
parent | cc054ca1b6c6c1b9812a2df575a7b17151ce6840 (diff) |
mixer/playerinfo: Add missing typecast to int
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/playerinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/playerinfo.cpp b/src/mixer/playerinfo.cpp index 75e062d716..4f4db9f409 100644 --- a/src/mixer/playerinfo.cpp +++ b/src/mixer/playerinfo.cpp @@ -148,7 +148,7 @@ void PlayerInfo::updateCurrentPlayingDeck() { EngineXfader::getXfadeGains(m_pCOxfader->get(), 1.0, 0.0, MIXXX_XFADER_ADDITIVE, false, &xfl, &xfr); - int orient = pDc->m_orientation.get(); + const int orient = static_cast<int>(pDc->m_orientation.get()); double xfvol; if (orient == EngineChannel::LEFT) { xfvol = xfl; |