The source project of this merge request has been removed.
Fix clang cast alignment warning
Hello!
On latest git master, clang throws following warning:
net.c:245:12: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 2 to 4 [-Wcast-align]
p_sa = (struct sockaddr_in*) &ifr.ifr_addr;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This patch fixes the warning.