summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/ingen_lv2.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 596e24e6..df0a29e6 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -752,16 +752,15 @@ ingen_restore(LV2_Handle instance,
uint32_t type;
uint32_t valflags;
- const void* path = retrieve(handle,
- ingen_file,
- &size, &type, &valflags);
+ const char* path = (const char*)retrieve(handle,
+ ingen_file,
+ &size, &type, &valflags);
if (!path) {
return LV2_STATE_ERR_NO_PROPERTY;
}
- const char* state_path = (const char*)path;
- char* real_path = map_path->absolute_path(map_path->handle, state_path);
+ char* real_path = map_path->absolute_path(map_path->handle, path);
plugin->world->parser()->parse_file(plugin->world,
plugin->world->interface().get(),