Build warning: cast increases required alignment
Hello!
On latest mater clang version 10.0.0-4ubuntu1
throws this warning:
hddtemp.c:467:43: warning: cast from 'char *' to 'struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align]
sockaddr_hddtemplocalhost.sin_addr = *(struct in_addr*) ptr_hostinfo->h_addr;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Thanks!