From f225438974434f0a4355a27601eb9e071322a4ad Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 11 May 2023 15:02:38 +0200 Subject: [PATCH] Really fix build Signed-off-by: falkTX --- source/discovery/carla-discovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/discovery/carla-discovery.cpp b/source/discovery/carla-discovery.cpp index a17a8f242..f5507d17a 100644 --- a/source/discovery/carla-discovery.cpp +++ b/source/discovery/carla-discovery.cpp @@ -33,7 +33,7 @@ #ifdef CARLA_OS_MAC # include "CarlaMacUtils.cpp" -# if defined(USING_JUCE) && defined(__aarch64__) +# ifdef __aarch64__ # include # endif #endif @@ -2752,7 +2752,7 @@ int main(int argc, const char* argv[]) posix_spawnattr_t attr; posix_spawnattr_init(&attr); CARLA_SAFE_ASSERT_RETURN(posix_spawnattr_setbinpref_np(&attr, 1, &pref, nullptr) == 0, 1); - CARLA_SAFE_ASSERT_RETURN(posix_spawn(&pid, argv[0], nullptr, &attr, argv, nullptr) == 0, 1); + CARLA_SAFE_ASSERT_RETURN(posix_spawn(&pid, argv[0], nullptr, &attr, (char* const*)argv, nullptr) == 0, 1); posix_spawnattr_destroy(&attr); if (pid > 0)