summaryrefslogtreecommitdiffstats
path: root/src/engine/ingen_jack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/ingen_jack.cpp')
-rw-r--r--src/engine/ingen_jack.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/ingen_jack.cpp b/src/engine/ingen_jack.cpp
index 93119bd8..e8645cb9 100644
--- a/src/engine/ingen_jack.cpp
+++ b/src/engine/ingen_jack.cpp
@@ -25,10 +25,11 @@ using namespace Ingen;
struct IngenJackModule : public Ingen::Shared::Module {
void load(Ingen::Shared::World* world) {
- Ingen::JackDriver* driver = new Ingen::JackDriver(*world->local_engine().get());
+ Ingen::JackDriver* driver = new Ingen::JackDriver(
+ *(Engine*)world->local_engine().get());
driver->attach(world->conf()->option("jack-server").get_string(),
world->conf()->option("jack-client").get_string(), NULL);
- world->local_engine()->set_driver(SharedPtr<Driver>(driver));
+ ((Engine*)world->local_engine().get())->set_driver(SharedPtr<Driver>(driver));
}
};