Show
Ignore:
Timestamp:
04/28/09 14:32:26 (3 years ago)
Author:
dsimcha
Message:

More TNew bugfixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rangeextra/rangeextra.d

    r577 r578  
    685685        } 
    686686        if(typeid(T).flags & 1) { 
    687             arr = (cast(T*) GC.realloc(arr.ptr, nElem * T.sizeof)) 
     687            arr = (cast(T*) GC.realloc(cast(void*) arr.ptr, nElem * T.sizeof)) 
    688688                  [0..arr.length]; 
    689689        } else { 
    690             arr = (cast(T*) GC.realloc(arr.ptr, nElem * T.sizeof, 
     690            arr = (cast(T*) GC.realloc(cast(void*) arr.ptr, nElem * T.sizeof, 
    691691                  GC.BlkAttr.NO_SCAN))[0..arr.length]; 
    692692        }