We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53df5a commit 651d29eCopy full SHA for 651d29e
bsp/k230/board/board.c
@@ -71,7 +71,7 @@ void init_bss(void)
71
unsigned int *dst;
72
73
dst = &__bss_start;
74
- while (dst < &__bss_end)
+ while ((rt_ubase_t)dst < (rt_ubase_t)&__bss_end)
75
{
76
*dst++ = 0;
77
}
bsp/k230/drivers/interdrv/uart/drv_uart.c
@@ -129,7 +129,7 @@ static void _uart_init(void *uart_base)
129
dlh = bdiv >> 12;
130
dll = (bdiv - (dlh << 12)) / 16;
131
dlf = bdiv - (dlh << 12) - dll * 16;
132
- if(dlh == 0 && dll == 0)
+ if((dlh == 0) && (dll == 0))
133
134
dll = 1;
135
dlf = 0;
0 commit comments