Fix ginetaddress.c compile on Solaris
authorDan Winship <danw@gnome.org>
Sun, 26 Apr 2009 13:59:28 +0000 (09:59 -0400)
committerDan Winship <danw@gnome.org>
Sun, 26 Apr 2009 17:18:17 +0000 (13:18 -0400)
commit9a15da50e4d10794c35e4b638b7ab521be671a6e
tree54024865a8b2b6f89a09ce05012d473ba9446b7d
parent491a036d8480f4d710ef601a27a57b559b0a46d7
Fix ginetaddress.c compile on Solaris

In glibc, IN6_IS_ADDR_UNSPECIFIED() et al. cast their argument to a
uint32_t*, so it doesn't matter whether you pass them the in6_addr
itself (which is what you're supposed to do) or one of its union
members (which is what we were actually doing). Solaris's macro
accesses the in6_addr fields directly though, and so only works if you
pass the actual in6_addr. #580194.
gio/ginetaddress.c