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/node.c | |
parent | d1f677c22311d6eb7bc2073aa1e80921e45dbb1d (diff) | |
download | lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.tar.gz lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.tar.bz2 lilv-a209c04661be1e276cba41bfccb6a6bc67be7c2a.zip |
Remove pointless casts
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -108,13 +108,13 @@ lilv_node_new_from_node(LilvWorld* world, const SordNode* node) switch (sord_node_get_type(node)) { case SORD_URI: result = (LilvNode*)malloc(sizeof(LilvNode)); - result->world = (LilvWorld*)world; + result->world = world; result->type = LILV_VALUE_URI; result->node = sord_node_copy(node); break; case SORD_BLANK: result = (LilvNode*)malloc(sizeof(LilvNode)); - result->world = (LilvWorld*)world; + result->world = world; result->type = LILV_VALUE_BLANK; result->node = sord_node_copy(node); break; |