mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-12 19:31:47 +00:00
Suppress warning.
This commit is contained in:
parent
9455c92712
commit
6db581ff4e
@ -1372,7 +1372,7 @@ _memory_allocate_heap(void) {
|
|||||||
heap = (heap_t*)_memory_map((1 + (sizeof(heap_t) >> _memory_page_size_shift)) * _memory_page_size, &align_offset);
|
heap = (heap_t*)_memory_map((1 + (sizeof(heap_t) >> _memory_page_size_shift)) * _memory_page_size, &align_offset);
|
||||||
if (!heap)
|
if (!heap)
|
||||||
return heap;
|
return heap;
|
||||||
memset(heap, 0, sizeof(heap_t));
|
memset((char*)heap, 0, sizeof(heap_t));
|
||||||
heap->align_offset = align_offset;
|
heap->align_offset = align_offset;
|
||||||
|
|
||||||
//Get a new heap ID
|
//Get a new heap ID
|
||||||
|
Loading…
Reference in New Issue
Block a user