X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fvst_plugin.cc;h=df93250e180a5fdd39e8a6c2e7bc3d8d66df4d78;hb=08371ae2cf6231bbb8522645d14add41ffa9c1c0;hp=5eafe7a612664991ba3bf94639f0b4296e36fd3c;hpb=490311bc081b12d328e6e02cac8170538e96fb2f;p=ardour.git diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 5eafe7a612..df93250e18 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -298,7 +298,7 @@ VSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc) char label[64]; /* some VST plugins expect this buffer to be zero-filled */ - memset (label, sizeof (label), 0); + memset (label, 0, sizeof (label)); _plugin->dispatcher (_plugin, effGetParamName, which, 0, label, 0);