Merge pull request #1067 from simonduq/fix-rpl-dag-printf

rpl_print_neighbor_list(): cast clock_time_t to unsigned for portable printout
This commit is contained in:
Nicolas Tsiftes 2015-05-13 16:07:54 +02:00
commit 540838be94

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");