From 4285fab0c0b14cbbcf9ddbe29d274c0c55a04edd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Feb 2025 15:27:55 -0500 Subject: Fully parenthesize expressions --- include/lv2/atom/forge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/lv2/atom/forge.h') diff --git a/include/lv2/atom/forge.h b/include/lv2/atom/forge.h index b9dff85..58b7512 100644 --- a/include/lv2/atom/forge.h +++ b/include/lv2/atom/forge.h @@ -492,7 +492,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}}; const LV2_Atom_Forge_Ref out = lv2_atom_forge_write(forge, &a, sizeof(a)); -- cgit v1.2.1