Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.

This commit is contained in:
Charles-François Natali 2011-12-23 16:44:51 +01:00
parent 5b62942074
commit 8b759655d0
2 changed files with 10 additions and 16 deletions

View file

@ -115,6 +115,7 @@ typedef int SOCKET_T;
/* Socket address */
typedef union sock_addr {
struct sockaddr_in in;
struct sockaddr sa;
#ifdef AF_UNIX
struct sockaddr_un un;
#endif