From 1c54a002f7bcb024c3b8ed3f8b8da8844acff789 Mon Sep 17 00:00:00 2001 From: limeng151 Date: Mon, 27 Feb 2023 15:50:33 +0800 Subject: [PATCH] fix test case Signed-off-by: limeng151 Change-Id: Ia8c42c2d1c62a0d1298081b269a607d05d6a3567 --- kernel/freelist/safe_unlink/Malloc_safe_unlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/freelist/safe_unlink/Malloc_safe_unlink.cpp b/kernel/freelist/safe_unlink/Malloc_safe_unlink.cpp index a124ed74..27e3fcee 100644 --- a/kernel/freelist/safe_unlink/Malloc_safe_unlink.cpp +++ b/kernel/freelist/safe_unlink/Malloc_safe_unlink.cpp @@ -71,7 +71,7 @@ static int child(void) uintptr_t *d; /* Set first dividing chunk */ - if (set_devide_chunk(sizeof(size_t))) { + if (set_devide_chunk(sizeof(uintptr_t))) { return -1; }