diff options
Diffstat (limited to 'src/lv2_evbuf.c')
-rw-r--r-- | src/lv2_evbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lv2_evbuf.c b/src/lv2_evbuf.c index 274d120..e8c9b60 100644 --- a/src/lv2_evbuf.c +++ b/src/lv2_evbuf.c @@ -197,7 +197,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; |