Ignore:
Timestamp:
Aug 29, 2007, 10:35:50 AM (18 years ago)
Author:
bdash
Message:

2007-08-29 Ryan Leavengood <[email protected]>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=15043

  • posix_memalign takes a void as its first parameter. My port makes use of this function call.
  • kjs/collector.cpp: (KJS::allocateBlock):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/collector.cpp

    r24874 r25296  
    110110#elif HAVE(POSIX_MEMALIGN)
    111111    void* address;
    112     posix_memalign(address, BLOCK_SIZE, BLOCK_SIZE);
    113     memset(reinterpret_cast<void*>(address), 0, BLOCK_SIZE);
     112    posix_memalign(&address, BLOCK_SIZE, BLOCK_SIZE);
     113    memset(address, 0, BLOCK_SIZE);
    114114#else
    115115    static size_t pagesize = getpagesize();
Note: See TracChangeset for help on using the changeset viewer.