Hi there,

On Fri, 2007-02-16 at 19:24 +0900, Atsushi SAKAI wrote:

> -    ((struct sockaddr_in *)&ifr.ifr_addr)->sin_family = AF_INET;
> -    ((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr   = inaddr;
> +    ((struct sockaddr_in *)((void *)&ifr.ifr_addr))->sin_family = AF_INET;
> +    ((struct sockaddr_in *)((void *)&ifr.ifr_addr))->sin_addr   = inaddr; 

        Could you explain this change? I'm not sure I follow what the problem
was or how it fixes it.

Thanks,
Mark.

--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to