diff options
| author | [email protected] <[email protected]> | 2012-08-01 01:23:55 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-08-01 01:23:55 +0000 |
| commit | f7aadffcde8a8ef9f0c608a7fee3652a67dd592a (patch) | |
| tree | b039225c86e2e327159e3b7db2daeada704c9429 /src | |
| parent | dddbd5078bbff24178811b639fe0cb3b33407b77 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c index 7dcbf5996e..daf003cee8 100644 --- a/src/object.c +++ b/src/object.c @@ -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; } } |
