rpl_print_neighbor_list(): cast clock_time_t to unsigned for portable printout
This commit is contained in:
parent
11a5e0a49a
commit
fc178dab87
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user