summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/common/showmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/common/showmem.c b/libcpu/arm/common/showmem.c
index 25b18d7fcf..2ece137a40 100644
--- a/libcpu/arm/common/showmem.c
+++ b/libcpu/arm/common/showmem.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -12,7 +12,7 @@
void rt_hw_show_memory(rt_uint32_t addr, rt_uint32_t size)
{
- int i = 0, j = 0;
+ unsigned int i = 0, j = 0;
RT_ASSERT(addr);