Browse Source

Carla: Fix some compiler warnings

tags/v0.9.0
falkTX 12 years ago
parent
commit
21925eec61
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      c++/carla-includes/lv2/event-helpers.h
  2. +1
    -1
      c++/carla-plugin/carla_bridge.cpp

+ 1
- 1
c++/carla-includes/lv2/event-helpers.h View File

@@ -148,7 +148,7 @@ lv2_event_get(LV2_Event_Iterator* iter,
uint8_t** data)
{
if (!lv2_event_is_valid(iter)) {
return false;
return nullptr;
}

LV2_Event* const ev = (LV2_Event*)(


+ 1
- 1
c++/carla-plugin/carla_bridge.cpp View File

@@ -994,7 +994,7 @@ CarlaPlugin* CarlaPlugin::newBridge(const initializer& init, BinaryType btype, P
if (! extra)
{
init.engine->setLastError("Bridge not possible, bridge-binary not found");
return false;
return nullptr;
}

short id = init.engine->getNewPluginId();


Loading…
Cancel
Save