summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-08-10 18:03:07 +0800
committerGitHub <[email protected]>2021-08-10 18:03:07 +0800
commita6df4391edc58dde02abc5bb20a64d5e2801ad9a (patch)
treed2ca4a46c582db9a1fcb8b4330abd8544fa35574 /src
parent5e277b0325d569abdb459ad742e23b7b97854e1f (diff)
parentab47a8f5af188eaf2f2ed85c833b3c543678b8b6 (diff)
Merge pull request #4924 from GuEe-GUI/master
[bsp/virt64/aarch64]添加qemu-virt64-aarch64平台
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;