aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 306b641..f982f1b 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -555,12 +555,8 @@ jalv_apply_ui_events(Jalv* jalv, uint32_t nframes)
} else if (ev.protocol == jalv->urids.atom_eventTransfer) {
LV2_Evbuf_Iterator e = lv2_evbuf_end(port->evbuf);
const LV2_Atom* const atom = (const LV2_Atom*)body;
- lv2_evbuf_write(&e,
- nframes,
- 0,
- atom->type,
- atom->size,
- (const uint8_t*)LV2_ATOM_BODY_CONST(atom));
+ lv2_evbuf_write(
+ &e, nframes, 0, atom->type, atom->size, LV2_ATOM_BODY_CONST(atom));
} else {
jalv_log(
JALV_LOG_ERR, "Unknown control change protocol %u\n", ev.protocol);