From 71f6104340ec78170ecbb814cb05b0c589b02774 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 10 Dec 2013 16:52:37 +0100 Subject: [PATCH] use correct argument order with memset() --- libs/ardour/vst_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 00cd6efaa5..cb40d6eac8 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -486,7 +486,7 @@ string VSTPlugin::describe_parameter (Evoral::Parameter param) { char name[64]; - memset (name, sizeof (name), 0); + memset (name, 0, sizeof (name)); /* some VST plugins expect this buffer to be zero-filled */