summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/object.c2
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;
}
}