Fixed a number of compiler warnings
This commit is contained in:
parent
2059be3a43
commit
4a93f5148d
8 changed files with 26 additions and 25 deletions
|
@ -137,7 +137,7 @@ collect_common_send(void)
|
|||
/* Use parts of the IPv6 address as the parent address, in reversed byte order. */
|
||||
parent.u8[LINKADDR_SIZE - 1] = nbr->ipaddr.u8[sizeof(uip_ipaddr_t) - 2];
|
||||
parent.u8[LINKADDR_SIZE - 2] = nbr->ipaddr.u8[sizeof(uip_ipaddr_t) - 1];
|
||||
parent_etx = rpl_get_parent_rank((linkaddr_t *) uip_ds6_nbr_get_ll(nbr)) / 2;
|
||||
parent_etx = rpl_get_parent_rank((uip_lladdr_t *) uip_ds6_nbr_get_ll(nbr)) / 2;
|
||||
}
|
||||
}
|
||||
rtmetric = dag->rank;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue