summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_evbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/lv2_evbuf.c')
-rw-r--r--libs/ardour/lv2_evbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/lv2_evbuf.c b/libs/ardour/lv2_evbuf.c
index fba7fd521d..2802ab8c81 100644
--- a/libs/ardour/lv2_evbuf.c
+++ b/libs/ardour/lv2_evbuf.c
@@ -203,7 +203,7 @@ lv2_evbuf_get(LV2_Evbuf_Iterator iter,
switch (iter.evbuf->type) {
case LV2_EVBUF_EVENT:
ebuf = &iter.evbuf->buf.event;
- ev = (LV2_Event*)ebuf->data + iter.offset;
+ ev = (LV2_Event*)((char*)ebuf->data + iter.offset);
*frames = ev->frames;
*subframes = ev->subframes;
*type = ev->type;