From 6b44b18e69f4e26249140e10c459615a77b32fc5 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 4 Aug 2006 08:01:00 -0700 Subject: Version abc60804 --- src/temp/ivy/ivyMem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/temp/ivy/ivyMem.c') diff --git a/src/temp/ivy/ivyMem.c b/src/temp/ivy/ivyMem.c index 01833f03..6ca33541 100644 --- a/src/temp/ivy/ivyMem.c +++ b/src/temp/ivy/ivyMem.c @@ -87,15 +87,15 @@ void Ivy_ManAddMemory( Ivy_Man_t * p ) { char * pMemory; int i, nBytes; - assert( sizeof(Ivy_Obj_t) <= 32 ); + assert( sizeof(Ivy_Obj_t) <= 64 ); assert( p->pListFree == NULL ); assert( (Ivy_ManObjNum(p) & IVY_PAGE_MASK) == 0 ); // allocate new memory page - nBytes = sizeof(Ivy_Obj_t) * (1<vChunks, pMemory ); // align memory at the 32-byte boundary - pMemory = pMemory + 32 - (((int)pMemory) & 31); + pMemory = pMemory + 64 - (((int)pMemory) & 63); // remember the manager in the first entry Vec_PtrPush( p->vPages, pMemory ); // break the memory down into nodes -- cgit v1.2.3