summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
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;