summaryrefslogtreecommitdiffstats
path: root/src/client/PluginUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PluginUI.cpp')
-rw-r--r--src/client/PluginUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index 097ba1b0..42e864b1 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -17,7 +17,7 @@
#include "raul/log.hpp"
#include "event.lv2/event-helpers.h"
-#include "object.lv2/object.h"
+#include "atom.lv2/atom.h"
#include "shared/LV2Features.hpp"
#include "shared/LV2URIMap.hpp"
#include "shared/LV2Object.hpp"
@@ -85,7 +85,7 @@ lv2_ui_write(LV2UI_Controller controller,
}
} else if (format == uris.object_transfer.id) {
- LV2_Object* buf = (LV2_Object*)buffer;
+ LV2_Atom* buf = (LV2_Atom*)buffer;
Raul::Atom val;
Shared::LV2Object::to_atom(uris, buf, val);
ui->world()->engine()->set_property(port->path(), uris.ingen_value, val);