Please help in solving the warning "cast increases required alignment of target type"
I have two structures as below
When I used the above structures as a function argument as below
log(.......,(struct in_addr*)p->addr32,......); // where p is a pointer to structure prefix
at that point, I am getting the warning as "cast increases required alignment of target type".
Please help me