From 583d1efb416cc97223d8655cd509a4be0cac754f Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 14 Jul 2020 02:55:01 +0100 Subject: [PATCH] Fix strict build Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginInternal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPluginInternal.cpp b/source/backend/plugin/CarlaPluginInternal.cpp index 57760624f..e85fcc69f 100644 --- a/source/backend/plugin/CarlaPluginInternal.cpp +++ b/source/backend/plugin/CarlaPluginInternal.cpp @@ -384,7 +384,7 @@ float PluginParameterData::getFinalValueWithMidiDelta(const uint32_t parameterId else { if (delta > 63) - delta = delta - 128; + delta = static_cast(delta - 128); value += (max - min) * (static_cast(delta) / 127.0f); }