From cfad5fc11b60071045e85ec40d86f82680aa55e4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Oct 2015 14:16:19 +0000 Subject: Fix build git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5801 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 2 +- src/state.c | 2 +- 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); -- cgit v1.2.1