mirror of https://github.com/stella-emu/stella.git
Fixed minor warning from Xcode.
This commit is contained in:
parent
f985ca84e5
commit
6d16790ce8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue