From 429c98ee83586c9e8e75fe1ece42887b4d60f25e Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sat, 20 Jun 2020 11:20:01 +0200 Subject: [PATCH] Fix the narrowing conversion problem --- vst/SfizzVstEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vst/SfizzVstEditor.cpp b/vst/SfizzVstEditor.cpp index 95e47db8..d6afa98d 100644 --- a/vst/SfizzVstEditor.cpp +++ b/vst/SfizzVstEditor.cpp @@ -120,7 +120,7 @@ void SfizzVstEditor::valueChanged(CControl* ctl) case kTagSetScalaRootKey: controller->setParamNormalized(kPidScalaRootKey, valueNorm); controller->performEdit(kPidScalaRootKey, valueNorm); - updateScalaRootKeyLabel(value); + updateScalaRootKeyLabel(static_cast(value)); break; case kTagSetTuningFrequency: