fix for invalid use of posix_memalign

master
Andrew Meadows 2013-01-10 08:47:29 +00:00
parent 8c73ff245c
commit f8a2bca652
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ void* allocAligned(size_t size)
#elif LL_DARWIN
padded_allocation = ll_aligned_malloc(size_with_reserve, ALIGNMENT);
#else
padded_allocation = posix_memalign(&padded_allocation, ALIGNMENT, size_with_reserve);
posix_memalign(&padded_allocation, ALIGNMENT, size_with_reserve);
#endif
}
return (char*)padded_allocation + aligned_reserve;