arm/backtrace_fp: fix build warning

common/arm_backtrace_fp.c: In function 'up_backtrace':
common/arm_backtrace_fp.c:126:23: warning: assignment to 'void *' from 'uintptr_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
  126 |           istacklimit = arm_intstack_top();
      |                       ^

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-10-15 00:37:05 +08:00 committed by Xiang Xiao
parent ec4a615f6c
commit 4e3aa83706
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ int up_backtrace(struct tcb_s *tcb,
{
#if CONFIG_ARCH_INTERRUPTSTACK > 7
# ifdef CONFIG_SMP
istacklimit = arm_intstack_top();
istacklimit = (void *)arm_intstack_top();
# else
istacklimit = g_intstacktop;
# endif /* CONFIG_SMP */