mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Remove the unnecessary cast for main_t, NULL and argv
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
7923ea3bef
commit
6b31918b42
@@ -64,7 +64,7 @@ const struct userspace_s userspace locate_data(".userspace") =
|
||||
{
|
||||
/* General memory map */
|
||||
|
||||
.us_entrypoint = (main_t)CONFIG_INIT_ENTRYPOINT,
|
||||
.us_entrypoint = CONFIG_INIT_ENTRYPOINT,
|
||||
.us_textstart = (uintptr_t)_stext,
|
||||
.us_textend = (uintptr_t)_etext,
|
||||
.us_datasource = (uintptr_t)_eronly,
|
||||
|
||||
Reference in New Issue
Block a user