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

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 11:53:24 +09:00 committed by Xiang Xiao
parent 7f61256b32
commit 8da52c82b4

View File

@ -250,11 +250,11 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size)
#ifdef CONFIG_DEBUG_MM
if (!ret)
{
mwarn("WARNING: Allocation failed, size %d\n", alignsize);
mwarn("WARNING: Allocation failed, size %zu\n", alignsize);
}
else
{
minfo("Allocated %p, size %d\n", ret, alignsize);
minfo("Allocated %p, size %zu\n", ret, alignsize);
}
#endif