[cooja-platform] Add cast to linkaddr_t to avoid warning

This commit is contained in:
Enrico Joerns 2014-11-03 22:56:20 +01:00
parent f8445ba1bd
commit 5a4c2e0d1f

View File

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