diff options
author | Karl Stiefvater (qarl) <qarl@lindenlab.com> | 2010-05-24 17:23:24 -0500 |
---|---|---|
committer | Karl Stiefvater (qarl) <qarl@lindenlab.com> | 2010-05-24 17:23:24 -0500 |
commit | 0222829e93bf797c072057ec1dfe36188e052347 (patch) | |
tree | 25eb8a6f890a072b22b072629dd9fd111781c2c4 /indra/llcommon/llmemory.h | |
parent | 9d72930328a3a7c193bd2e834d1d1ade91210e55 (diff) |
fix parameter mixup in linux posix_memalign.
Diffstat (limited to 'indra/llcommon/llmemory.h')
-rw-r--r-- | indra/llcommon/llmemory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h index 071a122c95..117268cfe7 100644 --- a/indra/llcommon/llmemory.h +++ b/indra/llcommon/llmemory.h @@ -42,7 +42,7 @@ inline void* ll_aligned_malloc_16(size_t size) // returned hunk MUST be freed wi return malloc(size); // default osx malloc is 16 byte aligned. #else void *rtn; - if (LL_LIKELY(0 == posix_memalign(&rtn, alignment, 16))) + if (LL_LIKELY(0 == posix_memalign(&rtn, 16, size))) { return rtn; } |