mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 06:33:00 +00:00
arch/tricore: fixed cxx build issue
perform type conversion to eliminate warnings Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
parent
097cc8c8a6
commit
22db8fbc71
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ noinstrument_function static inline_function uintptr_t up_getsp(void)
|
|||
#ifdef CONFIG_TRICORE_TOOLCHAIN_TASKING
|
||||
return (uintptr_t)__get_sp();
|
||||
#else
|
||||
return __builtin_frame_address(0);
|
||||
return (uintptr_t)__builtin_frame_address(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue