summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);