diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 14:38:19 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-11 14:10:27 -0400 |
commit | 0a2de34d4fdcedf87e101a309aaa180fcdf18fcc (patch) | |
tree | 3932ab3a3ccea5b5dd56527afe5f046a83cc3f8c /tools | |
parent | a07a8818f22bfa6b467093f1efd287e86983fdf1 (diff) | |
download | lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.gz lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.bz2 lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.zip |
Add missing const qualifiers
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lv2bench.c | 4 | ||||
-rw-r--r-- | tools/lv2info.c | 6 |
2 files changed, 5 insertions, 5 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)) { diff --git a/tools/lv2info.c b/tools/lv2info.c index 55acd09..e40edee 100644 --- a/tools/lv2info.c +++ b/tools/lv2info.c @@ -28,9 +28,9 @@ static LilvNode* supports_event_pred = NULL; static void print_port(const LilvPlugin* p, uint32_t index, - float* mins, - float* maxes, - float* defaults) + const float* mins, + const float* maxes, + const float* defaults) { const LilvPort* port = lilv_plugin_get_port_by_index(p, index); |