summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Meadows <andrew@lindenlab.com>2013-01-10 08:47:29 +0000
committerAndrew Meadows <andrew@lindenlab.com>2013-01-10 08:47:29 +0000
commitf8a2bca6526ea1eef61a9b8cf0fb2e78c2663d60 (patch)
tree5aa37ca3e6618cae0feb4c62fb1d54c3fcb33f51
parent8c73ff245cee8da2ca75c5651be88a36358a5dae (diff)
fix for invalid use of posix_memalign
-rw-r--r--indra/llcommon/lltrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h
index a9d5cc58de..7694f65441 100644
--- a/indra/llcommon/lltrace.h
+++ b/indra/llcommon/lltrace.h
@@ -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;