diff options
author | David Robillard <d@drobilla.net> | 2017-12-29 10:18:27 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 10:44:36 -0500 |
commit | a209c04661be1e276cba41bfccb6a6bc67be7c2a (patch) | |
tree | 6792bf1f6bb504262838b69d452dbb4e49bb64cf /src/world.c | |
parent | d1f677c22311d6eb7bc2073aa1e80921e45dbb1d (diff) | |
download | lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.tar.gz lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.tar.bz2 lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.zip |
Remove pointless casts
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c index 80aad28..fb3f7e0 100644 --- a/src/world.c +++ b/src/world.c @@ -151,7 +151,7 @@ lilv_world_free(LilvWorld* world) zix_tree_free((ZixTree*)world->loaded_files); world->loaded_files = NULL; - zix_tree_free((ZixTree*)world->libs); + zix_tree_free(world->libs); world->libs = NULL; zix_tree_free((ZixTree*)world->plugin_classes); @@ -612,7 +612,7 @@ lilv_world_get_manifest_uri(LilvWorld* world, const LilvNode* bundle_uri) { SerdNode manifest_uri = lilv_new_uri_relative_to_base( (const uint8_t*)"manifest.ttl", - (const uint8_t*)sord_node_get_string(bundle_uri->node)); + sord_node_get_string(bundle_uri->node)); LilvNode* manifest = lilv_new_uri(world, (const char*)manifest_uri.buf); serd_node_free(&manifest_uri); return manifest; |