gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 160c4aed76dc9894aa2cbf587257e51c8d6359a1
parent 76d33a0f4e84aea26f129110707333222bc281db
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu,  7 Apr 2022 21:53:19 +0200

fix compile error

Diffstat:
Msource/jucePlugin/ui3/VirusEditor.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/jucePlugin/ui3/VirusEditor.cpp b/source/jucePlugin/ui3/VirusEditor.cpp @@ -297,7 +297,7 @@ namespace genericVirusUI const auto& props = _component->getProperties(); const int v = props["parameter"]; - const int part = props.contains("part") ? props["part"] : getController().getCurrentPart(); + const int part = props.contains("part") ? static_cast<int>(props["part"]) : static_cast<int>(getController().getCurrentPart()); const auto* p = getController().getParameter(static_cast<Virus::ParameterType>(v), part);