summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-29 15:17:14 +0000
committerDavid Robillard <d@drobilla.net>2006-07-29 15:17:14 +0000
commit32672ca258231aea42c8868357b55ac46397084f (patch)
treec2ff7a04a550279f79f8e80d2d4373fa2e877c9c
parentb5b6dba0480b3dcec4b130ea606d63f4a3854920 (diff)
downloadingen-32672ca258231aea42c8868357b55ac46397084f.tar.gz
ingen-32672ca258231aea42c8868357b55ac46397084f.tar.bz2
ingen-32672ca258231aea42c8868357b55ac46397084f.zip
Update to most recent SLV2 API
git-svn-id: http://svn.drobilla.net/lad/ingen@108 a436a847-0d15-0410-975c-d299462d15a1
-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);