Browse Source

Fix strict build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
583d1efb41
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginInternal.cpp

+ 1
- 1
source/backend/plugin/CarlaPluginInternal.cpp View File

@@ -384,7 +384,7 @@ float PluginParameterData::getFinalValueWithMidiDelta(const uint32_t parameterId
else
{
if (delta > 63)
delta = delta - 128;
delta = static_cast<int8_t>(delta - 128);

value += (max - min) * (static_cast<float>(delta) / 127.0f);
}


Loading…
Cancel
Save