mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.
This commit is contained in:
parent
5b62942074
commit
8b759655d0
2 changed files with 10 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue