summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--matriseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matriseq.c b/matriseq.c
index 1834d4a..8894260 100644
--- a/matriseq.c
+++ b/matriseq.c
@@ -345,7 +345,7 @@ run(LV2_Handle instance, uint32_t n_frames)
// Work forwards in time frame by frame, handling events as we go
const LV2_Atom_Sequence* in = self->in;
- LV2_Atom_Event* ev = lv2_atom_sequence_begin(&in->body);
+ const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&in->body);
for (uint32_t t = 0; t < n_frames; ++t) {
while (!lv2_atom_sequence_is_end(&in->body, in->atom.size, ev) &&
ev->time.frames == t) {