arm/backtrace_sp: fix build warning
common/arm_backtrace_sp.c: In function 'up_backtrace': common/arm_backtrace_sp.c:253:15: warning: assignment to 'long unsigned int' from 'uint8_t *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] 253 | top = g_intstacktop; |
This commit is contained in:
parent
fccda0c08b
commit
3379fc96fc
@ -250,7 +250,7 @@ int up_backtrace(struct tcb_s *tcb,
|
||||
# ifdef CONFIG_SMP
|
||||
top = arm_intstack_top();
|
||||
# else
|
||||
top = g_intstacktop;
|
||||
top = (unsigned long)g_intstacktop;
|
||||
# endif /* CONFIG_SMP */
|
||||
#else
|
||||
top = (unsigned long)rtcb->stack_base_ptr +
|
||||
|
Loading…
Reference in New Issue
Block a user