summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-10-01 01:50:47 +0200
committerUwe Klotz <uklotz@mixxx.org>2020-10-01 01:50:47 +0200
commitbddf8ad161500de346203af012f7a9de6904ce8a (patch)
tree1877d0fd74f22061e091d4bbee74a27ad782c597 /src/control
parentec47b2bb372c296d63883a0d175afd43cab2e6ad (diff)
parent827782c7661150e7faff234cc01c9292ef324028 (diff)
Merge branch '2.3' of git@github.com:mixxxdj/mixxx.git
Diffstat (limited to 'src/control')
-rw-r--r--src/control/controllinpotmeter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/controllinpotmeter.cpp b/src/control/controllinpotmeter.cpp
index 5ca5962f46..e3f16d44b4 100644
--- a/src/control/controllinpotmeter.cpp
+++ b/src/control/controllinpotmeter.cpp
@@ -10,9 +10,9 @@ ControlLinPotmeter::ControlLinPotmeter(ConfigKey key,
new ControlLinPotmeterBehavior(dMinValue, dMaxValue, allowOutOfBounds));
}
if (dStep) {
- setStepCount((dMaxValue - dMinValue) / dStep);
+ setStepCount(static_cast<int>((dMaxValue - dMinValue) / dStep));
}
if (dSmallStep) {
- setSmallStepCount((dMaxValue - dMinValue) / dSmallStep);
+ setSmallStepCount(static_cast<int>((dMaxValue - dMinValue) / dSmallStep));
}
}