Merge pull request #2130 from jesven/fix_list_thread

修正rt_object_get_information参数类型不匹配警告
This commit is contained in:
Bernard Xiong 2018-12-27 19:08:55 +08:00 committed by GitHub
commit 214652fd7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;