diff options
author | David Robillard <d@drobilla.net> | 2012-05-14 02:08:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-14 02:08:19 +0000 |
commit | 779e087cf93a10f4da5265e3f217e6ed2eaf5bf9 (patch) | |
tree | d5bb66536cc54d9798a716140bf67d7056d0d05c /src | |
parent | 841825844f9b2f4eae069d0aad064e4046e15471 (diff) | |
download | ingen-779e087cf93a10f4da5265e3f217e6ed2eaf5bf9.tar.gz ingen-779e087cf93a10f4da5265e3f217e6ed2eaf5bf9.tar.bz2 ingen-779e087cf93a10f4da5265e3f217e6ed2eaf5bf9.zip |
Fix compilation when posix_memalign is unavailable.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4403 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-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 |