Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3935

Show
Ignore:
Timestamp:
09/09/08 15:48:01 (2 months ago)
Author:
sean
Message:

Fixed (unused) sentinel code to compile.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/gc/basic/gcx.d

    r3482 r3935  
    972972            if (cast(size_t)p & (size - 1) & (PAGESIZE - 1)) 
    973973                size = 0; 
    974             return size ? size - SENTINAL_EXTRA : 0; 
     974            return size ? size - SENTINEL_EXTRA : 0; 
    975975        } 
    976976        else 
     
    29262926    size_t* sentinel_size(void *p)  { return &(cast(size_t *)p)[-2]; } 
    29272927    size_t* sentinel_pre(void *p)   { return &(cast(size_t *)p)[-1]; } 
    2928     ubyte* sentinel_post(void *p) { return &(cast(ubyte *)p)[sentinel_size(p)]; } 
     2928    ubyte* sentinel_post(void *p) { return &(cast(ubyte *)p)[*sentinel_size(p)]; } 
    29292929 
    29302930