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:
@@ -175,7 +175,7 @@ public:
|
||||
// 04
|
||||
void *reserved;
|
||||
// 08
|
||||
VstEvent * events[];
|
||||
VstEvent* events[1];
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user