aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 13:42:56 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 13:42:56 +0200
commite7041238e4d5ee3bb7e10680e0d786e22c279b30 (patch)
tree587ce5a7e71c25087411d6bb8f907b09c746635e /lv2/atom
parente9df0f8740d1b76e2a8556ba1a9128faebd49eef (diff)
downloadlv2-e7041238e4d5ee3bb7e10680e0d786e22c279b30.tar.xz
Add missing macro argument parenthesis
Diffstat (limited to 'lv2/atom')
-rw-r--r--lv2/atom/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/atom/util.h b/lv2/atom/util.h
index cb3dbc8..b507180 100644
--- a/lv2/atom/util.h
+++ b/lv2/atom/util.h
@@ -226,7 +226,7 @@ lv2_atom_tuple_next(const LV2_Atom* i)
/** Like LV2_ATOM_TUPLE_FOREACH but for a headerless tuple body. */
#define LV2_ATOM_TUPLE_BODY_FOREACH(body, size, iter) \
- for (LV2_Atom* (iter) = (LV2_Atom*)body; \
+ for (LV2_Atom* (iter) = (LV2_Atom*)(body); \
!lv2_atom_tuple_is_end(body, size, (iter)); \
(iter) = lv2_atom_tuple_next(iter))