summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/LV2Node.hpp')
-rw-r--r--src/server/LV2Node.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/LV2Node.hpp b/src/server/LV2Node.hpp
index 29a9d717..81a6113d 100644
--- a/src/server/LV2Node.hpp
+++ b/src/server/LV2Node.hpp
@@ -62,7 +62,9 @@ public:
IntrusivePtr<Buffer> buf, SampleCount offset);
protected:
- inline LilvInstance instance(uint32_t voice) { return (LilvInstance)(*_instances)[voice].get(); }
+ inline LilvInstance* instance(uint32_t voice) {
+ return (LilvInstance*)(*_instances)[voice].get();
+ }
typedef Raul::Array< SharedPtr<void> > Instances;