diff options
author | David Robillard <d@drobilla.net> | 2018-09-04 21:02:42 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-04 21:02:42 +0200 |
commit | bd57bc1edb6d8131a920bcc4f12d91457e2ca2ed (patch) | |
tree | 8cfdfb9c336aa991b21299e31c2106713add7f88 /lilv | |
parent | 4b298e4c7fa74836d023726185dfb2325d675c51 (diff) | |
download | lilv-bd57bc1edb6d8131a920bcc4f12d91457e2ca2ed.tar.gz lilv-bd57bc1edb6d8131a920bcc4f12d91457e2ca2ed.tar.bz2 lilv-bd57bc1edb6d8131a920bcc4f12d91457e2ca2ed.zip |
Fix GCC8 warnings
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 64897a1..f709cf1 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -352,7 +352,7 @@ lilv_node_as_bool(const LilvNode* value); @endcode */ #define LILV_FOREACH(colltype, iter, collection) \ - for (LilvIter* (iter) = lilv_ ## colltype ## _begin(collection); \ + for (LilvIter* iter = lilv_ ## colltype ## _begin(collection); \ !lilv_ ## colltype ## _is_end(collection, iter); \ (iter) = lilv_ ## colltype ## _next(collection, iter)) |