From a209c04661be1e276cba41bfccb6a6bc67be7c2a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Dec 2017 10:18:27 -0500 Subject: Remove pointless casts --- src/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/node.c') diff --git a/src/node.c b/src/node.c index 2b160f3..5605177 100644 --- a/src/node.c +++ b/src/node.c @@ -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; -- cgit v1.2.1