summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2021-08-06 18:35:58 +0800
committerGuEe-GUI <[email protected]>2021-08-06 18:35:58 +0800
commitb7dd004de07056d7cf83ccdcc778a9f3d42a9c54 (patch)
tree81ae9f31de45dc57f863b99e76f0f69d35cdae8a /src
parent73bd7a7d66898c612380cbf64d1574c3b0764fdc (diff)
[bsp/virt64/aarch64] Add 'qemu-virt64-aarch64' bsp
Diffstat (limited to 'src')
-rw-r--r--src/memheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memheap.c b/src/memheap.c
index d77c95601e..d0801d721b 100644
--- a/src/memheap.c
+++ b/src/memheap.c
@@ -438,7 +438,7 @@ void *rt_memheap_realloc(struct rt_memheap *heap, void *ptr, rt_size_t newsize)
next_ptr->pool_ptr = heap;
#ifdef RT_USING_MEMTRACE
- rt_memset(next_ptr->owner_thread_name, ' ', sizeof(next_ptr->owner_thread_name));
+ rt_memset((void *)next_ptr->owner_thread_name, ' ', sizeof(next_ptr->owner_thread_name));
#endif /* RT_USING_MEMTRACE */
next_ptr->prev = header_ptr;