summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 05:23:45 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 05:23:45 +0000
commitea4087e0029c4f6c6f80716b50ddf60120598b1b (patch)
treeba9294615965a89001baa8a2aef3f85a621105cd /src/world.c
parentb2789940c700c882bf59eedac74487db54a0b3d5 (diff)
downloadlilv-ea4087e0029c4f6c6f80716b50ddf60120598b1b.tar.gz
lilv-ea4087e0029c4f6c6f80716b50ddf60120598b1b.tar.bz2
lilv-ea4087e0029c4f6c6f80716b50ddf60120598b1b.zip
Update for uint8_t sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2907 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c
index 4c9fce8..454fdec 100644
--- a/src/world.c
+++ b/src/world.c
@@ -59,7 +59,7 @@ slv2_world_new()
#define NS_DYNMAN (const uint8_t*)"http://lv2plug.in/ns/ext/dynmanifest#"
-#define NEW_URI(uri) sord_get_uri(world->model, true, (const char*)uri)
+#define NEW_URI(uri) sord_get_uri(world->model, true, uri)
world->dyn_manifest_node = NEW_URI(NS_DYNMAN "DynManifest");
world->lv2_specification_node = NEW_URI(SLV2_NS_LV2 "Specification");
@@ -384,7 +384,7 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri)
SordTuple see_also_tup = {
slv2_node_copy(spec),
world->rdfs_seealso_node,
- sord_get_uri(world->model, true, (const char*)manifest_uri.buf),
+ sord_get_uri(world->model, true, manifest_uri.buf),
NULL
};
sord_add(world->model, see_also_tup);