armv8-m/arm_svcall.c: Fix compiler warning

regs[REG_R0] is uint32_t type, but '%d' expects int type.

Signed-off-by: Michael Jung <mijung@gmx.net>
This commit is contained in:
Michael Jung 2021-03-03 18:31:05 +01:00 committed by Xiang Xiao
parent 9b679a7860
commit 33892dcc54
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ int arm_svcall(int irq, FAR void *context, FAR void *arg)
rtcb->flags |= TCB_FLAG_SYSCALL; rtcb->flags |= TCB_FLAG_SYSCALL;
#else #else
svcerr("ERROR: Bad SYS call: %d\n", regs[REG_R0]); svcerr("ERROR: Bad SYS call: %d\n", (int)regs[REG_R0]);
#endif #endif
} }
break; break;