From 266ed4a2c8cae0beadd5f90e912ae3cc23af82b3 Mon Sep 17 00:00:00 2001 From: Yonezawa-T2 Date: Wed, 30 Mar 2016 19:08:43 +0900 Subject: [PATCH] auto_init_slip: fix comparison between signed and unsigned --- sys/auto_init/netif/auto_init_slip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/auto_init/netif/auto_init_slip.c b/sys/auto_init/netif/auto_init_slip.c index 08459f1618..bb7c75fc65 100644 --- a/sys/auto_init/netif/auto_init_slip.c +++ b/sys/auto_init/netif/auto_init_slip.c @@ -47,7 +47,7 @@ static char _slip_stacks[SLIP_STACKSIZE][SLIP_NUM]; void auto_init_slip(void) { - for (int i = 0; i < SLIP_NUM; i++) { + for (unsigned int i = 0; i < SLIP_NUM; i++) { const gnrc_slip_params_t *p = &gnrc_slip_params[i]; DEBUG("Initializing SLIP radio at UART_%d\n", p->uart); kernel_pid_t res = gnrc_slip_init(&slip_devs[i], p->uart, p->baudrate,