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:
parent
dddbd5078b
commit
f7aadffcde
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue