summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-08-31 16:30:58 -0500
committerDave Parks <davep@lindenlab.com>2012-08-31 16:30:58 -0500
commit980d5a75556f802e412d24b14a48a49c76126e19 (patch)
treebe2c33f5357393ba3b21ceeb4dbe4bf34ea1b675 /indra/llcommon
parentd81d0433a5482602a7cdae590b3a0ffdc5cb79f9 (diff)
MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llmemory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h
index ebef3f98d6..36d2d9da37 100644
--- a/indra/llcommon/llmemory.h
+++ b/indra/llcommon/llmemory.h
@@ -61,7 +61,7 @@ inline void* ll_aligned_malloc_16(size_t size) // returned hunk MUST be freed wi
#endif
}
-inline void* ll_aligned_realloc_16(void* ptr, size_t size) // returned hunk MUST be freed with ll_aligned_free_16().
+inline void* ll_aligned_realloc_16(void* ptr, size_t size, size_t old_size) // returned hunk MUST be freed with ll_aligned_free_16().
{
#if defined(LL_WINDOWS)
return _aligned_realloc(ptr, size, 16);