STM32: fix build warning.
[bertos.git] / bertos / cpu / cortex-m3 / drv / clock_stm32.c
index c225da8d767175e702764e1ca7ce03485db7839d..8e9e86d0b5c775f041917e1b2f6172cce7961b81 100644 (file)
@@ -66,7 +66,7 @@ INLINE int rcc_get_flag_status(uint32_t flag)
 
 INLINE uint16_t pll_clock(void)
 {
-       int div, mul;
+       unsigned int div, mul;
 
        /* Hopefully this is evaluate at compile time... */
        for (div = 2; div; div--)