aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-30 15:06:51 -0400
committerDavid Robillard <d@drobilla.net>2022-05-30 15:41:43 -0400
commitb6d6f44708c55b529250e6cb5a61466ce13874b9 (patch)
tree015e1d02bb3f0a09c471c9d351418fdb4d5e8d6c /src/jalv_internal.h
parent997945c9f4850f1833543465e91d372ef01a338c (diff)
downloadjalv-b6d6f44708c55b529250e6cb5a61466ce13874b9.tar.gz
jalv-b6d6f44708c55b529250e6cb5a61466ce13874b9.tar.bz2
jalv-b6d6f44708c55b529250e6cb5a61466ce13874b9.zip
Remove use of VLAs
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 0737582..bf8c56c 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -152,7 +152,8 @@ typedef struct {
uint32_t index;
uint32_t protocol;
uint32_t size;
- uint8_t body[];
+
+ // Followed immediately by size bytes of data
} ControlChange;
typedef struct {