summaryrefslogtreecommitdiffstats
path: root/tools/lv2bench.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 14:38:19 -0400
committerDavid Robillard <d@drobilla.net>2024-10-11 14:10:27 -0400
commit0a2de34d4fdcedf87e101a309aaa180fcdf18fcc (patch)
tree3932ab3a3ccea5b5dd56527afe5f046a83cc3f8c /tools/lv2bench.c
parenta07a8818f22bfa6b467093f1efd287e86983fdf1 (diff)
downloadlilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.gz
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.bz2
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.zip
Add missing const qualifiers
Diffstat (limited to 'tools/lv2bench.c')
-rw-r--r--tools/lv2bench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lv2bench.c b/tools/lv2bench.c
index aeb86a0..461d088 100644
--- a/tools/lv2bench.c
+++ b/tools/lv2bench.c
@@ -82,8 +82,8 @@ bench(const LilvPlugin* p, uint32_t sample_count, uint32_t block_size)
LV2_Atom_Sequence* seq_out =
(LV2_Atom_Sequence*)malloc(sizeof(LV2_Atom_Sequence) + atom_capacity);
- const char* uri = lilv_node_as_string(lilv_plugin_get_uri(p));
- LilvNodes* required = lilv_plugin_get_required_features(p);
+ const char* uri = lilv_node_as_string(lilv_plugin_get_uri(p));
+ const LilvNodes* required = lilv_plugin_get_required_features(p);
LILV_FOREACH (nodes, i, required) {
const LilvNode* feature = lilv_nodes_get(required, i);
if (!lilv_node_equals(feature, urid_map)) {