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/query.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/query.c')
-rw-r--r-- | src/query.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/query.c b/src/query.c index 71ed613..9154990 100644 --- a/src/query.c +++ b/src/query.c @@ -51,8 +51,8 @@ slv2_values_from_stream_i18n(SLV2Plugin p, if (lang) { if (!strcmp(lang, slv2_get_lang())) { g_ptr_array_add( - values, slv2_value_new_string( - p->world, sord_node_get_string(value))); + values, (uint8_t*)slv2_value_new_string( + p->world, (const char*)sord_node_get_string(value))); } } else { nolang = value; @@ -66,8 +66,8 @@ slv2_values_from_stream_i18n(SLV2Plugin p, // No value with a matching language, use untranslated default if (nolang) { g_ptr_array_add( - values, slv2_value_new_string( - p->world, sord_node_get_string(nolang))); + values, (uint8_t*)slv2_value_new_string( + p->world, (const char*)sord_node_get_string(nolang))); } else { slv2_values_free(values); values = NULL; |