summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lv2bench.c4
-rw-r--r--tools/lv2info.c6
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);