Changeset 73502 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Aug 5, 2018 12:40:50 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124129
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTHeapOffset.cpp
r69111 r73502 101 101 }; 102 102 uint32_t i; 103 RTHeapOffsetDump(Heap, (PFNRTHEAPOFFSETPRINTF) RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */103 RTHeapOffsetDump(Heap, (PFNRTHEAPOFFSETPRINTF)(uintptr_t)RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */ 104 104 size_t cbBefore = RTHeapOffsetGetFreeSize(Heap); 105 105 static char const s_szFill[] = "01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; … … 185 185 "Warning: Either we've split out an alignment chunk at the start, or we've got\n" 186 186 " an alloc/free accounting bug: cbBefore=%d cbAfter=%d\n", cbBefore, cbAfter); 187 RTHeapOffsetDump(Heap, (PFNRTHEAPOFFSETPRINTF) RTPrintf);187 RTHeapOffsetDump(Heap, (PFNRTHEAPOFFSETPRINTF)(uintptr_t)RTPrintf); 188 188 } 189 189 -
trunk/src/VBox/Runtime/testcase/tstRTHeapSimple.cpp
r69111 r73502 98 98 }; 99 99 unsigned i; 100 RTHeapSimpleDump(Heap, (PFNRTHEAPSIMPLEPRINTF) RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */100 RTHeapSimpleDump(Heap, (PFNRTHEAPSIMPLEPRINTF)(uintptr_t)RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */ 101 101 size_t cbBefore = RTHeapSimpleGetFreeSize(Heap); 102 102 static char szFill[] = "01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; … … 181 181 "Warning: Either we've split out an alignment chunk at the start, or we've got\n" 182 182 " an alloc/free accounting bug: cbBefore=%d cbAfter=%d\n", cbBefore, cbAfter); 183 RTHeapSimpleDump(Heap, (PFNRTHEAPSIMPLEPRINTF) RTPrintf);183 RTHeapSimpleDump(Heap, (PFNRTHEAPSIMPLEPRINTF)(uintptr_t)RTPrintf); 184 184 } 185 185
Note:
See TracChangeset
for help on using the changeset viewer.