summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-09 09:30:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-09 09:32:40 +0100
commit0c88ebd66b0283ca770658cf1d5ee2b7b367c64a (patch)
treee52a07436754ea1ef98b993bc4ed440a995724b1 /sal
parentd0fecfb842d02fc027043e610bdf33f60ea109a2 (diff)
build error
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/source/alloc_arena.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sal/rtl/source/alloc_arena.c b/sal/rtl/source/alloc_arena.c
index 571d6de7d1d0..5984f7525400 100644
--- a/sal/rtl/source/alloc_arena.c
+++ b/sal/rtl/source/alloc_arena.c
@@ -1001,10 +1001,12 @@ SAL_CALL rtl_arena_alloc (
if ((arena != 0) && (pSize != 0))
{
+ sal_Size size;
+
if (alloc_mode == AMode_SYSTEM)
return rtl_allocateMemory(*pSize);
- sal_Size size = RTL_MEMORY_ALIGN((*pSize), arena->m_quantum);
+ size = RTL_MEMORY_ALIGN((*pSize), arena->m_quantum);
if (size > arena->m_qcache_max)
{
/* allocate from segment list */