summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-11-04 21:31:58 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2013-11-04 21:31:58 -0500
commit342237bf9c71927b5b6017c527a2d54b5c8be250 (patch)
treecf1eeb9478caa1799af1574348643faf21221878
parent7da2689f1cbed0cedac5adbf299e1e7ccee3669e (diff)
fix reversed arguments to memset when clearing VST plugin name
-rw-r--r--libs/ardour/vst_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc
index b80a594495..f74f5b0a5f 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 */