summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/engine/NodeFactory.cpp4
1 files 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);