Fix a clang-tidy problem

This commit is contained in:
Jean Pierre Cimalando 2021-04-15 22:21:27 +02:00
parent 62506b50f3
commit 34f9754a99

View file

@ -313,7 +313,7 @@ void SfizzVstProcessor::updateTimeInfo(const Vst::ProcessContext& context)
sfz::Sfizz& synth = *_synth;
if (context.state & context.kTempoValid)
synth.bpmTempo(0, context.tempo);
synth.bpmTempo(0, static_cast<float>(context.tempo));
if (context.state & context.kTimeSigValid) {
_timeSigNumerator = context.timeSigNumerator;