altos: Clean up -Wextra warnings
[fw/altos] / src / stm / ao_lcd_stm.c
index 47ea374ed6070303b5b306db6cb1719e825ea891..95af53d1b1aacc5cc1a612416385a6af5f927ae3 100644 (file)
@@ -346,8 +346,7 @@ static const struct ao_cmds ao_lcd_stm_cmds[] = {
 void
 ao_lcd_stm_init(void)
 {
-       int s, c;
-       int r;
+       unsigned int s, c;
        uint32_t        csr;
 
        stm_rcc.ahbenr |= ((AO_LCD_STM_USES_GPIOA << STM_RCC_AHBENR_GPIOAEN) |