[Libvir] [PATCH] to run on IA64
Mark McLoughlin
markmc at redhat.com
Mon Feb 19 16:35:15 UTC 2007
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.
More information about the libvir-list
mailing list