From d34e483cd75bc9fd24ef806f1b15fe1483dfdb97 Mon Sep 17 00:00:00 2001 From: Guillaume Buisson <> Date: Fri, 8 Mar 2024 10:47:59 +0100 Subject: [PATCH] buildfix FFTAnalyzerManager::getFFTDataFromScript --- Source/Module/modules/audio/analysis/FFTAnalyzerManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Module/modules/audio/analysis/FFTAnalyzerManager.cpp b/Source/Module/modules/audio/analysis/FFTAnalyzerManager.cpp index 7cd7bfbd9..a90babf07 100644 --- a/Source/Module/modules/audio/analysis/FFTAnalyzerManager.cpp +++ b/Source/Module/modules/audio/analysis/FFTAnalyzerManager.cpp @@ -115,6 +115,6 @@ var FFTAnalyzerManager::getFFTDataFromScript(const var::NativeFunctionArgs& a) float tmpScopeData[scopeSize]; manager->copyScopeData(tmpScopeData); - resultArray.addArray(tmpScopeData, scopeSize); + resultArray.addArray((float*)tmpScopeData, scopeSize); return result; }