diff -r a179b74831c9 -r c1f20ce4abcf kerneltest/e32test/demandpaging/t_threadcreate.cpp --- a/kerneltest/e32test/demandpaging/t_threadcreate.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/kerneltest/e32test/demandpaging/t_threadcreate.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -126,7 +126,7 @@ SThreadPagedInfo& info = *(SThreadPagedInfo*)aThreadInfo; RHeap& heap = User::Heap(); RChunk chunk; - chunk.SetHandle(heap.ChunkHandle()); + chunk.SetHandle(((TestHybridHeap&) heap).ChunkHandle()); info.iHeapPaged = chunk.IsPaged(); gStackPtr = (TUint8*)&chunk; RDebug::Printf("&chunk %x",&chunk);