From 32672ca258231aea42c8868357b55ac46397084f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Jul 2006 15:17:14 +0000 Subject: Update to most recent SLV2 API git-svn-id: http://svn.drobilla.net/lad/ingen@108 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/NodeFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index c2962e19..57219f9f 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -301,8 +301,8 @@ NodeFactory::load_lv2_plugins() om_plug->library(NULL); om_plug->lib_path("FIXME/Some/path"); om_plug->plug_label("FIXMElabel"); - unsigned char* name = slv2_plugin_get_name(lv2_plug); - om_plug->name((char*)name); + char* name = slv2_plugin_get_name(lv2_plug); + om_plug->name(name); free(name); om_plug->type(Plugin::LV2); _plugins.push_back(om_plug); -- cgit v1.2.1