Remove the unnecessary cast for main_t, NULL and argv

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-16 01:48:35 +08:00
committed by Alin Jerpelea
parent 7923ea3bef
commit 6b31918b42
113 changed files with 149 additions and 159 deletions
@@ -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,