projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add 'midi_scene_change' sources to ardour.vcproj
[ardour.git]
/
libs
/
ardour
/
lv2_evbuf.c
diff --git
a/libs/ardour/lv2_evbuf.c
b/libs/ardour/lv2_evbuf.c
index fba7fd521ddc42dd7aa78f63121045e804877895..2802ab8c816fd14e9274b1b2cc585a7b13da7e8f 100644
(file)
--- 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;