summaryrefslogtreecommitdiffstats
path: root/src/port.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/port.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/port.c')
-rw-r--r--src/port.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port.c b/src/port.c
index bb3c5af..9a89e05 100644
--- a/src/port.c
+++ b/src/port.c
@@ -155,7 +155,7 @@ slv2_port_get_value_by_qname(SLV2Plugin p,
const char* predicate)
{
assert(predicate);
- char* pred_uri = slv2_qname_expand(p, predicate);
+ uint8_t* pred_uri = slv2_qname_expand(p, predicate);
if (!pred_uri) {
return NULL;
}
@@ -164,7 +164,7 @@ slv2_port_get_value_by_qname(SLV2Plugin p,
SLV2Matches results = slv2_plugin_find_statements(
p,
port_node,
- sord_get_uri(p->world->model, true, (const uint8_t*)pred_uri),
+ sord_get_uri(p->world->model, true, pred_uri),
NULL);
free(pred_uri);
@@ -209,7 +209,7 @@ slv2_port_get_value_by_qname_i18n(SLV2Plugin p,
const char* predicate)
{
assert(predicate);
- char* pred_uri = slv2_qname_expand(p, predicate);
+ uint8_t* pred_uri = slv2_qname_expand(p, predicate);
if (!pred_uri) {
return NULL;
}