From e2377e4236b2eb6d1f6fbd89ee4f23d7819014b2 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 6 Feb 2021 20:47:33 +0000 Subject: [PATCH] Fix strict build --- source/includes/CarlaNative.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/CarlaNative.hpp b/source/includes/CarlaNative.hpp index d21a3b5fa..292678395 100644 --- a/source/includes/CarlaNative.hpp +++ b/source/includes/CarlaNative.hpp @@ -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(buffer), 0.0f); } // -------------------------------------------------------------------