From 45c8bc47e86140a4f6fa65e2bee8c1131e1a1c2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se>
Date: Fri, 13 Jan 2017 08:57:10 +0100
Subject: [PATCH] kinetis_common: Fix -Wsign-compare in gpio.c

---
 cpu/kinetis_common/periph/gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpu/kinetis_common/periph/gpio.c b/cpu/kinetis_common/periph/gpio.c
index ffb14995b3..001ac40ddc 100644
--- a/cpu/kinetis_common/periph/gpio.c
+++ b/cpu/kinetis_common/periph/gpio.c
@@ -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;
         }
-- 
GitLab