RemoteVstPlugin: fix build failure due to out-of-bounds-array-access-warning

Newer versions of GCC seem to assume an array size of 0 for arrays whose
size is not specified explicitely. This causes a warning about an
out-of-bounds array access.
This commit is contained in:
Tobias Doerffel
2014-01-26 10:04:03 +01:00
parent 80a58df124
commit 5d1335f390
2 changed files with 6 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ public:
// 04
void *reserved;
// 08
VstEvent * events[];
VstEvent* events[1];
} ;