summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author陈迎春 <[email protected]>2021-08-11 19:16:21 +0800
committerGitHub <[email protected]>2021-08-11 19:16:21 +0800
commitceba960c1073e6ef06beb43c6233cca6c588200e (patch)
tree8e0a07265ce46795366164daedf45784423926e9 /src
parent7f8e4ee108e4f1a5212356dce68d7f186f3deb42 (diff)
parenta6df4391edc58dde02abc5bb20a64d5e2801ad9a (diff)
Merge branch 'RT-Thread:master' into master
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;