summaryrefslogtreecommitdiffstats
path: root/src/engine/LV2RequestRunFeature.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/LV2RequestRunFeature.hpp')
-rw-r--r--src/engine/LV2RequestRunFeature.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/LV2RequestRunFeature.hpp b/src/engine/LV2RequestRunFeature.hpp
index 9f35d506..6d6b66b3 100644
--- a/src/engine/LV2RequestRunFeature.hpp
+++ b/src/engine/LV2RequestRunFeature.hpp
@@ -48,9 +48,10 @@ struct RequestRunFeature : public Shared::LV2Features::Feature {
if (!data->world->local_engine())
return;
- data->world->local_engine()->message_context()->run(
+ Engine* engine = (Engine*)data->world->local_engine().get();
+ engine->message_context()->run(
dynamic_cast<NodeImpl*>(data->node),
- data->world->local_engine()->driver()->frame_time());
+ engine->driver()->frame_time());
}
static void delete_feature(LV2_Feature* feature) {