4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 14:43:31 +08:00

there is no need to type cast for "object"

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2242 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com 2012-08-01 01:23:55 +00:00
parent dddbd5078b
commit f7aadffcde

View File

@ -409,7 +409,7 @@ rt_object_t rt_object_find(const char *name, rt_uint8_t type)
/* leave critical */
rt_exit_critical();
return (rt_object_t)object;
return object;
}
}