This is an automated email from the ASF dual-hosted git repository. Donny9 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 04015ed8aebb30fee5381cba25930acfde477b3f Author: yukangzhi <[email protected]> AuthorDate: Tue Nov 11 15:54:45 2025 +0800 mm/mempool: Follow MISRA C-2012 Rule 10.3 misra_c_2012_rule_10_3_violation: Implicitly convert dict->pool->blocksize from the base type anonymous enum to another or a narrower base type anonymous enum. Signed-off-by: yukangzhi <[email protected]> --- mm/mempool/mempool_multiple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mempool/mempool_multiple.c b/mm/mempool/mempool_multiple.c index 145b45c402e..765decef56d 100644 --- a/mm/mempool/mempool_multiple.c +++ b/mm/mempool/mempool_multiple.c @@ -674,7 +674,7 @@ ssize_t mempool_multiple_alloc_size(FAR struct mempool_multiple_s *mpool, return -EINVAL; } - return dict->pool->blocksize; + return (ssize_t)dict->pool->blocksize; } /****************************************************************************
