summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 d2a550e5..ebab53fd 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -212,7 +212,7 @@ Buffer::prepare_output_write(Context& context)
{
if (_type == _factory.uris().atom_Sequence) {
_atom->type = (LV2_URID)_factory.uris().atom_Chunk;
- _atom->size = _capacity - sizeof(LV2_Atom_Sequence);
+ _atom->size = _capacity - sizeof(LV2_Atom);
}
}