diff options
-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 f8a9f499..4bc39c12 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -52,7 +52,7 @@ Buffer::Buffer(BufferFactory& bufs, LV2_URID type, uint32_t capacity) #ifdef HAVE_POSIX_MEMALIGN int ret = posix_memalign((void**)&_atom, 16, capacity); #else - _atom = (LV2_Atom_Sequence*)malloc(capacity); + _atom = (LV2_Atom*)malloc(capacity); int ret = (_atom != NULL) ? 0 : -1; #endif |