From 4e6e2a396e6e80d9ba2d614917db3bdc2f56485b Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 28 Apr 2014 20:09:06 +0100 Subject: [PATCH] Minor compiler warning fix. --- .../format_types/juce_VST3PluginFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index 6d6e9eeb02..8ba513ccb8 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -398,7 +398,7 @@ public: if (index < 0) return kResultFalse; - owner->sendParamChangeMessageToListeners (index, valueNormalized); + owner->sendParamChangeMessageToListeners (index, (float) valueNormalized); return owner->editController->setParamNormalized (paramID, valueNormalized); }