From 957326613e7512de957c03fd526c9eed42e5df26 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Thu, 7 Sep 2023 21:53:18 -0400 Subject: [PATCH] fix a few more --- src/wrapasvst3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapasvst3.cpp b/src/wrapasvst3.cpp index 615b3026..c6a87651 100644 --- a/src/wrapasvst3.cpp +++ b/src/wrapasvst3.cpp @@ -667,7 +667,7 @@ void ClapAsVst3::param_rescan(clap_param_rescan_flags flags) vstflags |= Vst::RestartFlags::kMidiCCAssignmentChanged; } - vstflags |= ((flags & CLAP_PARAM_RESCAN_VALUES) ? Vst::RestartFlags::kParamValuesChanged : 0u); + vstflags |= ((flags & CLAP_PARAM_RESCAN_VALUES) ? (uint32_t)Vst::RestartFlags::kParamValuesChanged : 0u); vstflags |= ((flags & CLAP_PARAM_RESCAN_INFO) ? Vst::RestartFlags::kParamValuesChanged | Vst::RestartFlags::kParamTitlesChanged : 0u); if (vstflags != 0) {