diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 13:42:56 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 13:42:56 +0200 |
commit | e7041238e4d5ee3bb7e10680e0d786e22c279b30 (patch) | |
tree | 587ce5a7e71c25087411d6bb8f907b09c746635e | |
parent | e9df0f8740d1b76e2a8556ba1a9128faebd49eef (diff) | |
download | lv2-e7041238e4d5ee3bb7e10680e0d786e22c279b30.tar.xz |
Add missing macro argument parenthesis
-rw-r--r-- | lv2/atom/util.h | 2 |
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)) |