mm/mm_heap/mm_initialize.c: Fix syslog format errors

This commit is contained in:
YAMAMOTO Takashi
2020-11-20 11:52:16 +09:00
committed by Xiang Xiao
parent 7c962595a5
commit 7f61256b32
+2 -2
View File
@@ -92,7 +92,7 @@ void mm_addregion(FAR struct mm_heap_s *heap, FAR void *heapstart,
heapend = MM_ALIGN_DOWN((uintptr_t)heapstart + (uintptr_t)heapsize); heapend = MM_ALIGN_DOWN((uintptr_t)heapstart + (uintptr_t)heapsize);
heapsize = heapend - heapbase; heapsize = heapend - heapbase;
minfo("Region %d: base=%p size=%u\n", IDX + 1, heapstart, heapsize); minfo("Region %d: base=%p size=%zu\n", IDX + 1, heapstart, heapsize);
/* Add the size of this region to the total size of the heap */ /* Add the size of this region to the total size of the heap */
@@ -157,7 +157,7 @@ void mm_initialize(FAR struct mm_heap_s *heap, FAR void *heapstart,
{ {
int i; int i;
minfo("Heap: start=%p size=%u\n", heapstart, heapsize); minfo("Heap: start=%p size=%zu\n", heapstart, heapsize);
/* The following two lines have cause problems for some older ZiLog /* The following two lines have cause problems for some older ZiLog
* compilers in the past (but not the more recent). Life is easier if we * compilers in the past (but not the more recent). Life is easier if we