mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 16:51:16 +00:00
pad field renamed in preparation for multiple address families. Also, don't rely on int being 32 bits.
This commit is contained in:
parent
52dfc473fc
commit
5162359857
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@ struct qsockaddr
|
|||
typedef struct
|
||||
{
|
||||
#ifdef HAVE_IPV6
|
||||
unsigned int ip[4];
|
||||
u_int32_t ip[4];
|
||||
#else
|
||||
byte ip[4];
|
||||
#endif
|
||||
unsigned short port;
|
||||
unsigned short pad;
|
||||
unsigned short family; // used to be pad, before IPV6
|
||||
} netadr_t;
|
||||
|
||||
extern netadr_t net_local_adr;
|
||||
|
|
Loading…
Reference in a new issue