sched/task_init: change the stack pointer type to (void *)

change the stack pointer type from (uint32_t *) to (void *)

Change-Id: I90bb7d6a9cb0184c133578a1a2ae9a19c233ad30
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2020-06-29 11:23:01 +08:00
committed by Alin Jerpelea
parent 62b777b1cd
commit 2fc02ec4a4
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -83,7 +83,7 @@
****************************************************************************/
int nxtask_init(FAR struct tcb_s *tcb, const char *name, int priority,
FAR uint32_t *stack, uint32_t stack_size,
FAR void *stack, uint32_t stack_size,
main_t entry, FAR char * const argv[])
{
FAR struct task_tcb_s *ttcb = (FAR struct task_tcb_s *)tcb;