This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 22db8fbc71e01861d97faf65ce573f469ca06a98
Author: zhangyuan29 <[email protected]>
AuthorDate: Tue Jan 7 16:51:55 2025 +0800

    arch/tricore: fixed cxx build issue
    
    perform type conversion to eliminate warnings
    
    Signed-off-by: zhangyuan29 <[email protected]>
---
 arch/tricore/include/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/tricore/include/irq.h b/arch/tricore/include/irq.h
index bbf4c98b36a..f8beb274e96 100644
--- a/arch/tricore/include/irq.h
+++ b/arch/tricore/include/irq.h
@@ -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
 }
 

Reply via email to