diff options
-rw-r--r-- | src/collections.c | 2 | ||||
-rw-r--r-- | src/world.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/collections.c b/src/collections.c index 77917f6..95542da 100644 --- a/src/collections.c +++ b/src/collections.c @@ -26,7 +26,7 @@ int lilv_resource_node_cmp(const void* a, const void* b, void* user_data) { const SordNode* an = ((LilvNode*)a)->val.uri_val; - const SordNode* bn = ((LilvNode*)a)->val.uri_val; + const SordNode* bn = ((LilvNode*)b)->val.uri_val; return (intptr_t)an - (intptr_t)bn; } diff --git a/src/world.c b/src/world.c index d5af0fe..ddcf5d1 100644 --- a/src/world.c +++ b/src/world.c @@ -48,7 +48,6 @@ lilv_world_new(void) world->loaded_files = zix_tree_new( false, lilv_resource_node_cmp, NULL, (ZixDestroyFunc)lilv_node_free); - #define NS_DYNMAN "http://lv2plug.in/ns/ext/dynmanifest#" #define NS_DCTERMS "http://purl.org/dc/terms/" |