From 4b1d4c9681e712e4fedd376bd1aa300107ececc1 Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 16 Mar 2017 09:34:42 +0000 Subject: [PATCH] Added a cast to avoid a compiler warning --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 4008c45eb5..31e3721af7 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -446,7 +446,7 @@ public: { if (outputs[j] == chan) { - chan = new FloatType [blockSize * 2]; + chan = new FloatType [(size_t) blockSize * 2]; tmpBuffers.tempChannels.set (i, chan); break; }