summaryrefslogtreecommitdiffstats
path: root/src/engine/ingen_osc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/ingen_osc.cpp')
-rw-r--r--src/engine/ingen_osc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/ingen_osc.cpp b/src/engine/ingen_osc.cpp
index 5e75b756..0a2d6768 100644
--- a/src/engine/ingen_osc.cpp
+++ b/src/engine/ingen_osc.cpp
@@ -27,10 +27,11 @@ using namespace Ingen;
struct IngenOSCModule : public Ingen::Shared::Module {
void load(Ingen::Shared::World* world) {
SharedPtr<OSCEngineReceiver> interface(
- new Ingen::OSCEngineReceiver(*world->local_engine().get(),
+ new Ingen::OSCEngineReceiver(
+ *(Engine*)world->local_engine().get(),
event_queue_size,
world->conf()->option("engine-port").get_int32()));
- world->local_engine()->add_event_source(interface);
+ ((Engine*)world->local_engine().get())->add_event_source(interface);
}
};