aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/atom/util.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-02-10 15:27:55 -0500
committerDavid Robillard <d@drobilla.net>2025-02-10 15:47:54 -0500
commit4285fab0c0b14cbbcf9ddbe29d274c0c55a04edd (patch)
treebbb72e2cf7df6072f4fed15b140a0e6c5b8af7a5 /include/lv2/atom/util.h
parent3e1e609d89fb1954bd497ae8021a3b6c0aad31f6 (diff)
downloadlv2-4285fab0c0b14cbbcf9ddbe29d274c0c55a04edd.tar.xz
Fully parenthesize expressionsHEADmain
Diffstat (limited to 'include/lv2/atom/util.h')
-rw-r--r--include/lv2/atom/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lv2/atom/util.h b/include/lv2/atom/util.h
index 4b9e80d..9a3d8a3 100644
--- a/include/lv2/atom/util.h
+++ b/include/lv2/atom/util.h
@@ -251,7 +251,7 @@ static inline LV2_Atom_Property_Body*
lv2_atom_object_next(const LV2_Atom_Property_Body* i)
{
const LV2_Atom* const value =
- (const LV2_Atom*)((const uint8_t*)i + 2 * sizeof(uint32_t));
+ (const LV2_Atom*)((const uint8_t*)i + (2 * sizeof(uint32_t)));
return (LV2_Atom_Property_Body*)((const uint8_t*)i +
lv2_atom_pad_size(
(uint32_t)sizeof(LV2_Atom_Property_Body) +