summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h2
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))