]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix strict-aliasing warnings in sk_tcp_peer_info.
authorColin Watson <cjwatson@debian.org>
Thu, 28 Jan 2016 21:22:07 +0000 (21:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 30 Jan 2016 14:33:54 +0000 (14:33 +0000)
commitc026b48c537250ac03573845ff9da6fd9f45776d
tree2579f5e0809e81498f9c0ae86741710b5d8b7441
parentd700c33422926dda1b4af90bf1fcd262b03cfca8
Fix strict-aliasing warnings in sk_tcp_peer_info.

GCC 6 emits strict-aliasing warnings here, so use the existing
sockaddr_union arrangements to avoid those.  As a prerequisite for being
able to express sk_tcp_peer_info in terms of sockaddr_union, I fixed up
the union elements to be a bit less odd in the NO_IPV6 case.
unix/uxnet.c