diff options
| author | Bernard Xiong <[email protected]> | 2018-12-27 19:08:55 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-27 19:08:55 +0800 |
| commit | 214652fd7ed7538d741ba16e2e80ebdc2806c379 (patch) | |
| tree | 62b3fcca7fafc2dd47d5a725648c26c662c1d07d | |
| parent | 94b3d9b7885661cd2b5fa173438d3b87c02b1d63 (diff) | |
| parent | fdfc7e541aef0985ea378309c3bef16719ce7ca2 (diff) | |
Merge pull request #2130 from jesven/fix_list_thread
修正rt_object_get_information参数类型不匹配警告
| -rw-r--r-- | components/finsh/cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index aa6ee6c2fc..2276fad302 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -1,3 +1,4 @@ + /* * Copyright (c) 2006-2018, RT-Thread Development Team * @@ -76,7 +77,7 @@ static void list_find_init(list_get_next_t *p, rt_uint8_t type, rt_list_t **arra struct rt_object_information *info; rt_list_t *list; - info = rt_object_get_information(type); + info = rt_object_get_information((enum rt_object_class_type)type); list = &info->object_list; p->list = list; |
