diff options
author | David Robillard <d@drobilla.net> | 2013-12-15 22:29:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-15 22:29:00 +0000 |
commit | 4710ac3a505af53602b7ca88821601496bf2fd6b (patch) | |
tree | 1e09028f39996c67a770480ad7d484d3bb8aeda6 /src/mdaDX10.cpp | |
parent | f0f118b699d623cb11ed5c358cbc027f008f2ecb (diff) | |
download | mda.lv2-4710ac3a505af53602b7ca88821601496bf2fd6b.tar.gz mda.lv2-4710ac3a505af53602b7ca88821601496bf2fd6b.tar.bz2 mda.lv2-4710ac3a505af53602b7ca88821601496bf2fd6b.zip |
Fix const-violating casts.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mda.lv2@5173 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/mdaDX10.cpp')
-rw-r--r-- | src/mdaDX10.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdaDX10.cpp b/src/mdaDX10.cpp index 8e8a5ca..a6ca283 100644 --- a/src/mdaDX10.cpp +++ b/src/mdaDX10.cpp @@ -313,7 +313,7 @@ void mdaDX10::processReplacing(float **inputs, float **outputs, int32_t sampleFr float o, x, e, mw=MW, w=rich, m=modmix; int32_t k=K; - LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); + const LV2_Atom_Event* ev = lv2_atom_sequence_begin(&eventInput->body); bool end = lv2_atom_sequence_is_end(&eventInput->body, eventInput->atom.size, ev); if(activevoices>0 || !end) //detect & bypass completely empty blocks { |