arch: POSIX: Do not assume 32bit pointers
Correct the storage type of the thread status pointer not assuming 32bit pointer and integer size Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
parent
748413cb92
commit
81503a2087
2 changed files with 3 additions and 6 deletions
|
@ -75,7 +75,7 @@ void z_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
|
|||
thread_status->aborted = 0;
|
||||
#endif
|
||||
|
||||
thread->callee_saved.thread_status = (u32_t)thread_status;
|
||||
thread->callee_saved.thread_status = thread_status;
|
||||
|
||||
posix_new_thread(thread_status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue