summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-15 22:29:00 +0000
committerDavid Robillard <d@drobilla.net>2013-12-15 22:29:00 +0000
commit383d679fc4a5f259d131b4297a22a3844c2ccd4a (patch)
treec7a27091f48a9bf2b660b370f01b100ade9ed704
parent0fc7e5294315b46547a772210f6b911d3414dbea (diff)
downloadmatriseq.lv2-383d679fc4a5f259d131b4297a22a3844c2ccd4a.tar.gz
matriseq.lv2-383d679fc4a5f259d131b4297a22a3844c2ccd4a.tar.bz2
matriseq.lv2-383d679fc4a5f259d131b4297a22a3844c2ccd4a.zip
Fix const-violating casts.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/matriseq@5173 a436a847-0d15-0410-975c-d299462d15a1
-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) {