Browse Source

Fix a compiler warning

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.6
falkTX 1 year ago
parent
commit
e2c491390e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/backend/plugin/CarlaPluginLV2.cpp

+ 2
- 2
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -2486,7 +2486,7 @@ public:


for (uint32_t i=0; i < count; ++i) for (uint32_t i=0; i < count; ++i)
{ {
const uint32_t& type(evIns.getAt(i, 0x0));
const uint32_t type = evIns.getAt(i, 0x0);


if (type == CARLA_EVENT_DATA_ATOM) if (type == CARLA_EVENT_DATA_ATOM)
{ {
@@ -2518,7 +2518,7 @@ public:


for (uint32_t i=0; i < count; ++i) for (uint32_t i=0; i < count; ++i)
{ {
const uint32_t& type(evOuts.getAt(i, 0x0));
const uint32_t type = evOuts.getAt(i, 0x0);


if (type == CARLA_EVENT_DATA_ATOM) if (type == CARLA_EVENT_DATA_ATOM)
{ {


Loading…
Cancel
Save