diff options
| author | tangyuxin <[email protected]> | 2022-01-01 19:13:13 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-08 15:50:14 +0800 |
| commit | 09f439bcc2fbe574dd619fcb97b617912dde63a6 (patch) | |
| tree | cb3ca4e0fe7787375dc59afccaea7cf5d7ed87ec /components | |
| parent | 85441c0dc405c4b40dbabbdfad8ced838cd97e25 (diff) | |
[memheap] Fix 64 bit potential risk
Diffstat (limited to 'components')
| -rw-r--r-- | components/finsh/msh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/msh.c b/components/finsh/msh.c index 47ee1efa59..27e937f750 100644 --- a/components/finsh/msh.c +++ b/components/finsh/msh.c @@ -71,7 +71,7 @@ MSH_CMD_EXPORT_ALIAS(cmd_ps, ps, List threads in the system.); #ifdef RT_USING_HEAP int cmd_free(int argc, char **argv) { - rt_uint32_t total = 0, used = 0, max_used = 0; + rt_size_t total = 0, used = 0, max_used = 0; rt_memory_info(&total, &used, &max_used); rt_kprintf("total : %d\n", total); |
