On Wed, 2010-04-28 at 09:16 +0200, Mike Hommey wrote: > Try this: > > diff --git a/JavaScriptCore/wtf/FastMalloc.cpp > b/JavaScriptCore/wtf/FastMalloc.cpp > index e7d9efa..5979b2f 100644 > --- a/JavaScriptCore/wtf/FastMalloc.cpp > +++ b/JavaScriptCore/wtf/FastMalloc.cpp > @@ -2336,7 +2336,7 @@ static TCMalloc_Central_FreeListPadded > central_cache[kNumClasses]; > > // Page-level allocator > static SpinLock pageheap_lock = SPINLOCK_INITIALIZER; > -static void* pageheap_memory[(sizeof(TCMalloc_PageHeap) + sizeof(void*) - 1) > / sizeof(void*)]; > +static uint64_t pageheap_memory[(sizeof(TCMalloc_PageHeap) + > sizeof(uint64_t) - 1) / sizeof(uint64_t)]; > static bool phinited = false;
That seems to do it, yeah =) I'm not sure, but that change seems to be cross-platform safe, do we need to ifdef it, or not? Thanks! -- Gustavo Noronha Silva <[email protected]> Debian
signature.asc
Description: This is a digitally signed message part

