Skip to content
Snippets Groups Projects
Commit 89c60dac authored by Cédric Roux's avatar Cédric Roux
Browse files

compilation warning removal

parent 34c303ef
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,7 @@ static int get_address(char* if_name, uint8_t flag) { ...@@ -342,7 +342,7 @@ static int get_address(char* if_name, uint8_t flag) {
perror("IOCTL:"); perror("IOCTL:");
exit(-1); exit(-1);
} }
ether_ntoa_r ((unsigned char *)ifr.ifr_hwaddr.sa_data, rrh_mac); ether_ntoa_r ((struct ether_addr *)ifr.ifr_hwaddr.sa_data, (char*)rrh_mac);
LOG_I(RRH,"%s: MAC address: %s\n",if_name,rrh_mac); LOG_I(RRH,"%s: MAC address: %s\n",if_name,rrh_mac);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment