misc: memory address type conversions
The uintptr_t type is more appropriate to represent memory addresses than u32_t. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
c2d38ec2b9
commit
58d839bc3c
3 changed files with 6 additions and 6 deletions
|
@ -249,7 +249,7 @@ static ALWAYS_INLINE void z_new_thread_init(struct k_thread *thread,
|
|||
#endif /* CONFIG_USERSPACE */
|
||||
|
||||
#if defined(CONFIG_THREAD_STACK_INFO)
|
||||
thread->stack_info.start = (u32_t)pStack;
|
||||
thread->stack_info.start = (uintptr_t)pStack;
|
||||
thread->stack_info.size = (u32_t)stackSize;
|
||||
#endif /* CONFIG_THREAD_STACK_INFO */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue