From a47dfc5969c1ab7bfbe163d2ed4b2a740c772015 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 17 Jul 2017 13:03:46 +0100 Subject: [PATCH] Fixed a harmless compiler warning on MSVC in previous commit --- modules/juce_audio_processors/format_types/juce_VST3Common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3Common.h b/modules/juce_audio_processors/format_types/juce_VST3Common.h index ecc6887cf5..02a4b8a834 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3Common.h +++ b/modules/juce_audio_processors/format_types/juce_VST3Common.h @@ -190,8 +190,8 @@ static inline Steinberg::Vst::Speaker getSpeakerType (const AudioChannelSet& set break; } - auto channelIndex = static_cast (type) - (static_cast (AudioChannelSet::discreteChannel0) + 6); - return (1 << (channelIndex + 33 /* last speaker in vst layout + 1 */)); + auto channelIndex = static_cast (type) - (static_cast (AudioChannelSet::discreteChannel0) + 6ull); + return (1ull << (channelIndex + 33ull /* last speaker in vst layout + 1 */)); } static inline AudioChannelSet::ChannelType getChannelType (Steinberg::Vst::SpeakerArrangement arr, Steinberg::Vst::Speaker type) noexcept