13
0

use correct argument order with memset()

This commit is contained in:
Nils Philippsen 2013-12-10 16:52:37 +01:00
parent 27a3f2837a
commit 71f6104340

View File

@ -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 */