Fix the narrowing conversion problem

This commit is contained in:
Jean Pierre Cimalando 2020-06-20 11:20:01 +02:00 committed by Paul Ferrand
parent 42bf66dd74
commit 429c98ee83

View file

@ -120,7 +120,7 @@ void SfizzVstEditor::valueChanged(CControl* ctl)
case kTagSetScalaRootKey:
controller->setParamNormalized(kPidScalaRootKey, valueNorm);
controller->performEdit(kPidScalaRootKey, valueNorm);
updateScalaRootKeyLabel(value);
updateScalaRootKeyLabel(static_cast<int>(value));
break;
case kTagSetTuningFrequency: