Browse Source

Fix strict build

tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
e2377e4236
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/includes/CarlaNative.hpp

+ 1
- 1
source/includes/CarlaNative.hpp View File

@@ -254,7 +254,7 @@ protected:
{
CARLA_SAFE_ASSERT_RETURN(pHost != nullptr,);

pHost->dispatcher(pHost->handle, NATIVE_HOST_OPCODE_PREVIEW_BUFFER_DATA, type, size, (void*)buffer, 0.0f);
pHost->dispatcher(pHost->handle, NATIVE_HOST_OPCODE_PREVIEW_BUFFER_DATA, type, size, const_cast<void*>(buffer), 0.0f);
}

// -------------------------------------------------------------------


Loading…
Cancel
Save