Skip to content

Commit

Permalink
[ci] Fix for ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Apr 26, 2024
1 parent 122c3ad commit dc1141f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/avendish
3 changes: 2 additions & 1 deletion src/plugins/score-plugin-lv2/LV2/EffectModel.cpp
Expand Up @@ -385,6 +385,7 @@ void Model::readPlugin()
{
for(int port_id : data.control_in_ports)
{
SCORE_ASSERT(port_id >= 0);
Lilv::Port p = data.effect.plugin.get_port_by_index(port_id);
Lilv::Node n = p.get_name();

Expand All @@ -394,7 +395,7 @@ void Model::readPlugin()
fParamInit[port_id], QString::fromUtf8(n.as_string()),
Id<Process::Port>{in_id++}, this};

control_map.insert({port_id, {port, false}});
control_map.insert({(uint32_t)port_id, {port, false}});
connect(
port, &Process::ControlInlet::valueChanged, this,
[this, port_id](const ossia::value& v) {
Expand Down

0 comments on commit dc1141f

Please sign in to comment.