Fixed minor warning from Xcode.

This commit is contained in:
Stephen Anthony 2018-02-04 16:14:39 -03:30
parent f985ca84e5
commit 6d16790ce8
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,8 @@ void TimeMachineDialog::loadConfig()
IntArray cycles = r.cyclesList(); IntArray cycles = r.cyclesList();
// Set range and intervals for timeline // Set range and intervals for timeline
myTimeline->setMaxValue(cycles.size() > 1 ? cycles.size() - 1 : 0); uInt32 maxValue = cycles.size() > 1 ? uInt32(cycles.size() - 1) : 0;
myTimeline->setMaxValue(maxValue);
myTimeline->setStepValues(cycles); myTimeline->setStepValues(cycles);
// Enable blending (only once is necessary) // Enable blending (only once is necessary)