summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-10 20:36:36 +0000
committerDavid Robillard <d@drobilla.net>2012-08-10 20:36:36 +0000
commit762435ea92bbeed0b36afc5fa4303540f3e72ba1 (patch)
treebb503e6f6d7788f45c398ffb0f35b42f73390a40 /src/server/LV2Node.cpp
parent16d7c76a60f8bedd23f1b3fb1f5357b0d548dab2 (diff)
downloadingen-762435ea92bbeed0b36afc5fa4303540f3e72ba1.tar.gz
ingen-762435ea92bbeed0b36afc5fa4303540f3e72ba1.tar.bz2
ingen-762435ea92bbeed0b36afc5fa4303540f3e72ba1.zip
Fix various const violations.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4647 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Node.cpp')
-rw-r--r--src/server/LV2Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 5b2e2487..b3e65555 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -82,7 +82,7 @@ LV2Node::make_instance(URIs& uris,
return SharedPtr<LilvInstance>();
}
- LV2_Morph_Interface* morph_iface = (LV2_Morph_Interface*)
+ const LV2_Morph_Interface* morph_iface = (const LV2_Morph_Interface*)
lilv_instance_get_extension_data(inst, LV2_MORPH__interface);
for (uint32_t p = 0; p < num_ports(); ++p) {
@@ -385,7 +385,7 @@ LV2Node::instantiate(BufferFactory& bufs)
// FIXME: Polyphony + worker?
if (lilv_plugin_has_feature(plug, info->work_schedule)) {
- _worker_iface = (LV2_Worker_Interface*)
+ _worker_iface = (const LV2_Worker_Interface*)
lilv_instance_get_extension_data(instance(0),
LV2_WORKER__interface);
}