Fix build

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-05-08 14:57:53 +01:00
parent c8772d4654
commit 76828eea6b
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 3 deletions

2
dpf

@ -1 +1 @@
Subproject commit 7d4e299e4397fcdf7cf307c97897678550e60c00
Subproject commit cd1861ae893c21045e9f47245bf41cabca7d5f2f

View file

@ -602,10 +602,10 @@ struct CardinalMIDIMapChoice : CardinalLedDisplayChoice {
ParamHandle* const paramHandle = &module->paramHandles[id];
Module* const paramModule = paramHandle->module;
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN(paramModule != nullptr, "error");
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN("paramModule is null", paramModule != nullptr, "error");
const int paramId = paramHandle->paramId;
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN(paramId < (int) paramModule->params.size(), "error");
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN("paramId is out of bounds", paramId < (int) paramModule->params.size(), "error");
ParamQuantity* const paramQuantity = paramModule->paramQuantities[paramId];
std::string s = paramQuantity->name;