From 15708c80560c8b31ce5f227a7f809c22f643b75d Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Fri, 9 Apr 2021 17:21:18 +0200 Subject: [PATCH] Add cast to please the windows compilers --- plugins/vst/OrderedEventProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vst/OrderedEventProcessor.cpp b/plugins/vst/OrderedEventProcessor.cpp index c1114335..548f079b 100644 --- a/plugins/vst/OrderedEventProcessor.cpp +++ b/plugins/vst/OrderedEventProcessor.cpp @@ -33,7 +33,7 @@ void OrderedEventProcessor::processUnorderedEvents(int32 numSamples, Vst::IParam ++subdivNumber; } - playRemainder(std::max(0, numSamples - 1), evs); + playRemainder(std::max(int32(0), numSamples - 1), evs); } void OrderedEventProcessor::startProcessing(Vst::IEventList* evs, Vst::IParameterChanges* pcs)