summaryrefslogtreecommitdiffstats
path: root/src/util.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/util.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/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index ab104b3..8024f2e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -86,7 +86,7 @@ slv2_get_lang()
return lang;
}
-char*
+uint8_t*
slv2_qname_expand(SLV2Plugin p, const char* qname)
{
const size_t qname_len = strlen(qname);
@@ -101,7 +101,7 @@ slv2_qname_expand(SLV2Plugin p, const char* qname)
memcpy(uri, uri_prefix.buf, uri_prefix.len);
memcpy(uri + uri_prefix.len, uri_suffix.buf, uri_suffix.len);
uri[uri_len] = '\0';
- return uri;
+ return (uint8_t*)uri;
} else {
SLV2_ERRORF("Failed to expand QName `%s'\n", qname);
return NULL;