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:
parent
8c82d9952b
commit
45c8bc47e8
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user