aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
committerDavid Robillard <d@drobilla.net>2022-05-26 13:27:22 -0400
commit52650784331844f8a92c5e9c4ba443a468743867 (patch)
treed3e5477eeb641344466d2994b1d052defff69f36 /lv2/atom
parentec24b754f1fa81f05b011a444a1dd8d67d066d31 (diff)
downloadlv2-52650784331844f8a92c5e9c4ba443a468743867.tar.xz
Suppress new warnings in clang-tidy 13
Diffstat (limited to 'lv2/atom')
-rw-r--r--lv2/atom/forge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/atom/forge.h b/lv2/atom/forge.h
index 5cf3551..d17643f 100644
--- a/lv2/atom/forge.h
+++ b/lv2/atom/forge.h
@@ -497,7 +497,7 @@ lv2_atom_forge_vector(LV2_Atom_Forge* forge,
const void* elems)
{
const LV2_Atom_Vector a = {
- {(uint32_t)(sizeof(LV2_Atom_Vector_Body) + n_elems * child_size),
+ {(uint32_t)sizeof(LV2_Atom_Vector_Body) + n_elems * child_size,
forge->Vector},
{child_size, child_type}};
LV2_Atom_Forge_Ref out = lv2_atom_forge_write(forge, &a, sizeof(a));