mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08: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:
committed by
Alin Jerpelea
parent
097cc8c8a6
commit
22db8fbc71
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user