From fdfc7e541aef0985ea378309c3bef16719ce7ca2 Mon Sep 17 00:00:00 2001 From: shaojinchun Date: Thu, 27 Dec 2018 17:48:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3rt=5Fobject=5Fget=5Finformati?= =?UTF-8?q?on=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E4=B8=8D=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/finsh/cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index aa6ee6c2f..2276fad30 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; -- GitLab