summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-29 14:16:19 +0000
committerDavid Robillard <d@drobilla.net>2015-10-29 14:16:19 +0000
commitcfad5fc11b60071045e85ec40d86f82680aa55e4 (patch)
tree014d41f6a223955f20a49596ff409f1090678d49
parent07dadda1f5d869164ba177fe30121f0b87ff49cd (diff)
downloadlilv-cfad5fc11b60071045e85ec40d86f82680aa55e4.tar.gz
lilv-cfad5fc11b60071045e85ec40d86f82680aa55e4.tar.bz2
lilv-cfad5fc11b60071045e85ec40d86f82680aa55e4.zip
Fix build
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5801 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/plugin.c2
-rw-r--r--src/state.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 4ca8722..2552bff 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -868,7 +868,7 @@ lilv_plugin_get_author(const LilvPlugin* p)
}
static LilvNode*
-lilv_plugin_get_author_property(const LilvPlugin* plugin, const char* uri)
+lilv_plugin_get_author_property(const LilvPlugin* plugin, const uint8_t* uri)
{
const SordNode* author = lilv_plugin_get_author(plugin);
if (author) {
diff --git a/src/state.c b/src/state.c
index 94c9141..dbbcdd0 100644
--- a/src/state.c
+++ b/src/state.c
@@ -564,7 +564,7 @@ new_state_from_model(LilvWorld* world,
uint32_t flags = LV2_STATE_IS_POD|LV2_STATE_IS_PORTABLE;
Property prop = { NULL, 0, 0, 0, flags };
- prop.key = map->map(map->handle, pred);
+ prop.key = map->map(map->handle, key);
prop.type = atom->type;
prop.size = atom->size;
prop.value = malloc(atom->size);