mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-24 21:16:19 +00:00
heap: Fix type for heap monitor memset size
This commit is contained in:
parent
d0850516ab
commit
bd8a5ece58
@ -137,7 +137,7 @@ void free(void *buf)
|
|||||||
void heap_monitor(heap_monitor_t *mon, bool print_node_stats)
|
void heap_monitor(heap_monitor_t *mon, bool print_node_stats)
|
||||||
{
|
{
|
||||||
u32 count = 0;
|
u32 count = 0;
|
||||||
memset(mon, 0, sizeof(heap_monitor));
|
memset(mon, 0, sizeof(heap_monitor_t));
|
||||||
|
|
||||||
hnode_t *node = _heap.first;
|
hnode_t *node = _heap.first;
|
||||||
while (true)
|
while (true)
|
||||||
|
@ -137,7 +137,7 @@ void free(void *buf)
|
|||||||
void heap_monitor(heap_monitor_t *mon, bool print_node_stats)
|
void heap_monitor(heap_monitor_t *mon, bool print_node_stats)
|
||||||
{
|
{
|
||||||
u32 count = 0;
|
u32 count = 0;
|
||||||
memset(mon, 0, sizeof(heap_monitor));
|
memset(mon, 0, sizeof(heap_monitor_t));
|
||||||
|
|
||||||
hnode_t *node = _heap.first;
|
hnode_t *node = _heap.first;
|
||||||
while (true)
|
while (true)
|
||||||
|
Loading…
Reference in New Issue
Block a user