summaryrefslogtreecommitdiffstats
path: root/test/test_port.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 /test/test_port.c
parenta07a8818f22bfa6b467093f1efd287e86983fdf1 (diff)
downloadlilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.gz
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.bz2
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.zip
Add missing const qualifiers
Diffstat (limited to 'test/test_port.c')
-rw-r--r--test/test_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_port.c b/test/test_port.c
index e05dcde..5991189 100644
--- a/test/test_port.c
+++ b/test/test_port.c
@@ -92,8 +92,8 @@ main(void)
lilv_node_free(nopsym);
// Try getting an invalid property
- LilvNode* num = lilv_new_int(world, 1);
- LilvNodes* nothing = lilv_port_get_value(plug, p, num);
+ LilvNode* num = lilv_new_int(world, 1);
+ const LilvNodes* nothing = lilv_port_get_value(plug, p, num);
assert(!nothing);
lilv_node_free(num);