rpl_print_neighbor_list(): cast clock_time_t to unsigned for portable printout

This commit is contained in:
Simon Duquennoy 2015-05-13 09:03:40 +02:00
parent 11a5e0a49a
commit fc178dab87

View File

@ -100,7 +100,7 @@ rpl_print_neighbor_list()
p->rank, nbr ? nbr->link_metric : 0,
default_instance->of->calculate_rank(p, 0),
p == default_instance->current_dag->preferred_parent ? '*' : ' ',
(now - p->last_tx_time) / (60 * CLOCK_SECOND));
(unsigned)((now - p->last_tx_time) / (60 * CLOCK_SECOND)));
p = nbr_table_next(rpl_parents, p);
}
printf("RPL: end of list\n");