1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00

kinetis_common: Fix -Wsign-compare in gpio.c

This commit is contained in:
Joakim Nohlgård 2017-01-13 08:57:10 +01:00
parent 8c82d9952b
commit 45c8bc47e8

View File

@ -145,7 +145,7 @@ static inline int get_ctx(int port, int pin)
*/
static int get_free_ctx(void)
{
for (int i = 0; i < CTX_NUMOF; i++) {
for (unsigned int i = 0; i < CTX_NUMOF; i++) {
if (isr_ctx[i].cb == NULL) {
return i;
}