This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 3a1515b mm_mallinfo: Fix a minfo printf-format 3a1515b is described below commit 3a1515b473c65b777dc498b3b5ab788af6705448 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Thu Feb 13 12:51:36 2020 +0900 mm_mallinfo: Fix a minfo printf-format --- mm/mm_heap/mm_mallinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mm/mm_heap/mm_mallinfo.c b/mm/mm_heap/mm_mallinfo.c index f05fe52..8648764 100644 --- a/mm/mm_heap/mm_mallinfo.c +++ b/mm/mm_heap/mm_mallinfo.c @@ -88,8 +88,9 @@ int mm_mallinfo(FAR struct mm_heap_s *heap, FAR struct mallinfo *info) node < heap->mm_heapend[region]; node = (FAR struct mm_allocnode_s *)((FAR char *)node + node->size)) { - minfo("region=%d node=%p size=%p preceding=%p (%c)\n", - region, node, node->size, (node->preceding & ~MM_ALLOC_BIT), + minfo("region=%d node=%p size=%u preceding=%u (%c)\n", + region, node, (unsigned int)node->size, + (unsigned int)(node->preceding & ~MM_ALLOC_BIT), (node->preceding & MM_ALLOC_BIT) ? 'A' : 'F'); /* Check if the node corresponds to an allocated memory chunk */