diff options
author | David Robillard <d@drobilla.net> | 2011-02-04 05:23:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-04 05:23:45 +0000 |
commit | ea4087e0029c4f6c6f80716b50ddf60120598b1b (patch) | |
tree | ba9294615965a89001baa8a2aef3f85a621105cd /src/util.c | |
parent | b2789940c700c882bf59eedac74487db54a0b3d5 (diff) | |
download | lilv-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |