@@ -426,6 +426,8 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, | |||||
{ | { | ||||
if (std::strcmp(label, "http://calf.sourceforge.net/plugins/Analyzer") == 0) | if (std::strcmp(label, "http://calf.sourceforge.net/plugins/Analyzer") == 0) | ||||
preferBridges = true; | preferBridges = true; | ||||
if (std::strcmp(label, "http://calf.sourceforge.net/plugins/Fluidsynth") == 0) | |||||
preferBridges = true; | |||||
if (std::strcmp(label, "http://factorial.hu/plugins/lv2/ir") == 0) | if (std::strcmp(label, "http://factorial.hu/plugins/lv2/ir") == 0) | ||||
preferBridges = true; | preferBridges = true; | ||||
} | } | ||||
@@ -4259,7 +4259,7 @@ public: | |||||
const std::string s_uri(uri); | const std::string s_uri(uri); | ||||
const std::ptrdiff_t s_pos(std::find(fCustomURIDs.begin(), fCustomURIDs.end(), s_uri) - fCustomURIDs.begin()); | const std::ptrdiff_t s_pos(std::find(fCustomURIDs.begin(), fCustomURIDs.end(), s_uri) - fCustomURIDs.begin()); | ||||
if (s_pos <= 0 || s_pos >= UINT32_MAX) | |||||
if (s_pos <= 0 || s_pos >= INT32_MAX) | |||||
return CARLA_URI_MAP_ID_NULL; | return CARLA_URI_MAP_ID_NULL; | ||||
const LV2_URID urid = static_cast<LV2_URID>(s_pos); | const LV2_URID urid = static_cast<LV2_URID>(s_pos); | ||||
@@ -648,7 +648,7 @@ public: | |||||
const std::string s_uri(uri); | const std::string s_uri(uri); | ||||
const std::ptrdiff_t s_pos(std::find(fCustomURIDs.begin(), fCustomURIDs.end(), s_uri) - fCustomURIDs.begin()); | const std::ptrdiff_t s_pos(std::find(fCustomURIDs.begin(), fCustomURIDs.end(), s_uri) - fCustomURIDs.begin()); | ||||
if (s_pos <= 0 || s_pos >= UINT32_MAX) | |||||
if (s_pos <= 0 || s_pos >= INT32_MAX) | |||||
return CARLA_URI_MAP_ID_NULL; | return CARLA_URI_MAP_ID_NULL; | ||||
const LV2_URID urid = static_cast<LV2_URID>(s_pos); | const LV2_URID urid = static_cast<LV2_URID>(s_pos); | ||||