summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r--src/server/Buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index 6894d9ca..c3430858 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -331,7 +331,7 @@ bool
Buffer::append_event_buffer(const Buffer* buf)
{
auto* seq = (LV2_Atom_Sequence*)get<LV2_Atom>();
- auto* bseq = (LV2_Atom_Sequence*)buf->get<LV2_Atom>();
+ auto* bseq = (const LV2_Atom_Sequence*)buf->get<LV2_Atom>();
if (seq->atom.type == _factory.uris().atom_Chunk) {
clear(); // Chunk initialized with prepare_output_write(), clear
}