aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2/atom-helpers.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-17 07:26:04 +0000
committerDavid Robillard <d@drobilla.net>2010-10-17 07:26:04 +0000
commitf0bed61d08527bdb70927a489ab7923601d6a558 (patch)
treeab584f36b9dcc41c954287c87d11fd4e9cbaed3f /ext/atom.lv2/atom-helpers.h
parentc3289b5f5cccad9365b6c917f3cda2dd98efa1b5 (diff)
downloadlv2-f0bed61d08527bdb70927a489ab7923601d6a558.tar.xz
Make lv2_atom_dict_iter_is_end const.
Diffstat (limited to 'ext/atom.lv2/atom-helpers.h')
-rw-r--r--ext/atom.lv2/atom-helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/atom.lv2/atom-helpers.h b/ext/atom.lv2/atom-helpers.h
index 801bd32..f4908e3 100644
--- a/ext/atom.lv2/atom-helpers.h
+++ b/ext/atom.lv2/atom-helpers.h
@@ -53,7 +53,7 @@ lv2_atom_dict_get_iter(LV2_Atom_Property* prop)
}
static inline bool
-lv2_atom_dict_iter_is_end(LV2_Atom* dict, LV2_Atom_Dict_Iter iter)
+lv2_atom_dict_iter_is_end(const LV2_Atom* dict, LV2_Atom_Dict_Iter iter)
{
return (uint8_t*)iter >= (dict->body + dict->size);
}