summaryrefslogtreecommitdiffstats
path: root/src/engine/controls/ratecontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/controls/ratecontrol.cpp')
-rw-r--r--src/engine/controls/ratecontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/controls/ratecontrol.cpp b/src/engine/controls/ratecontrol.cpp
index e2b25a20f7..f79cc0060d 100644
--- a/src/engine/controls/ratecontrol.cpp
+++ b/src/engine/controls/ratecontrol.cpp
@@ -475,7 +475,7 @@ double RateControl::calculateSpeed(double baserate, double speed, bool paused,
}
// If we are reversing (and not scratching,) flip the rate. This is ok even when syncing.
// Reverse with vinyl is only ok if absolute mode isn't on.
- int vcmode = m_pVCMode ? m_pVCMode->get() : MIXXX_VCMODE_ABSOLUTE;
+ int vcmode = m_pVCMode ? static_cast<int>(m_pVCMode->get()) : MIXXX_VCMODE_ABSOLUTE;
// TODO(owen): Instead of just ignoring reverse mode, should we
// disable absolute mode instead?
if (m_pReverseButton->get()