[cooja-platform] Add cast to linkaddr_t to avoid warning
This commit is contained in:
parent
f8445ba1bd
commit
5a4c2e0d1f
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ contiki_init()
|
|||
addr[i + 1] = node_id & 0xff;
|
||||
addr[i + 0] = node_id >> 8;
|
||||
}
|
||||
linkaddr_copy(addr, &linkaddr_node_addr);
|
||||
linkaddr_copy((linkaddr_t *)addr, &linkaddr_node_addr);
|
||||
memcpy(&uip_lladdr.addr, addr, sizeof(uip_lladdr.addr));
|
||||
|
||||
process_start(&tcpip_process, NULL);
|
||||
|
|
Loading…
Reference in a new issue