diff options
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r-- | src/server/Buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index 4bc39c12..30a0781c 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -89,7 +89,7 @@ void Buffer::copy(Context& context, const Buffer* src) { // Copy only if src is a POD object that fits - if (src->_atom->type != 0 && sizeof(LV2_Atom) + src->_atom->size <= capacity()) { + if (src->_atom->type != 0 && sizeof(LV2_Atom) + src->_atom->size <= capacity()) { memcpy(_atom, src->_atom, sizeof(LV2_Atom) + src->_atom->size); } assert(_atom->type != 1); |