summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_evbuf.c
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-04 14:21:35 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-04 14:21:35 -0500
commit2b9421fd391efcddde0be3397cb66e19b744a155 (patch)
tree9379555f58acff44337676416d229a0f4c0562e8 /libs/ardour/lv2_evbuf.c
parentc11bf0cc72669feea1a6c2071cef5255bbb1905a (diff)
parent4818621a2797871a10c47fc2f813e51668479fcc (diff)
merge (w/fix) with master
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;