aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg04-sampler.lv2/sampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg04-sampler.lv2/sampler.c')
-rw-r--r--plugins/eg04-sampler.lv2/sampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg04-sampler.lv2/sampler.c b/plugins/eg04-sampler.lv2/sampler.c
index 9353d48..70f31c5 100644
--- a/plugins/eg04-sampler.lv2/sampler.c
+++ b/plugins/eg04-sampler.lv2/sampler.c
@@ -343,7 +343,7 @@ run(LV2_Handle instance,
break;
}
} else if (is_object_type(uris, ev->body.type)) {
- const LV2_Atom_Object* obj = (LV2_Atom_Object*)&ev->body;
+ const LV2_Atom_Object* obj = (const LV2_Atom_Object*)&ev->body;
if (obj->body.otype == uris->patch_Set) {
// Received a set message, send it to the worker.
lv2_log_trace(&self->logger, "Queueing set message\n");