Skip to content

Commit

Permalink
auto_init_slip: fix comparison between signed and unsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonezawa-T2 committed Mar 30, 2016
1 parent 8b7512f commit 266ed4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/auto_init/netif/auto_init_slip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 266ed4a

Please sign in to comment.