mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Use correct definitjion for integer type in windows
This commit is contained in:
parent
afde524e82
commit
12f3f02c06
1 changed files with 4 additions and 4 deletions
|
@ -1191,7 +1191,7 @@ init_iface()
|
|||
{
|
||||
#if defined(__MINGW__)
|
||||
INTERFACE_INFO InterfaceList[20];
|
||||
uint32_t nBytesReturned;
|
||||
DWORD nBytesReturned;
|
||||
int i, countActive, nNumInterfaces;
|
||||
SOCKET desc = WSASocket(PF_INET, SOCK_RAW, AF_INET, 0, 0, 0);
|
||||
|
||||
|
@ -1787,7 +1787,7 @@ init_ports()
|
|||
int r;
|
||||
struct sockaddr_in sa;
|
||||
#if defined(__MINGW__)
|
||||
uint32_t dummy;
|
||||
DWORD dummy;
|
||||
#endif /* __MINGW__ */
|
||||
|
||||
/*
|
||||
|
@ -2338,7 +2338,7 @@ handle_accept()
|
|||
{
|
||||
RInfo *ri;
|
||||
#if defined(__MINGW__)
|
||||
uint32_t dummy = 1;
|
||||
DWORD dummy = 1;
|
||||
#else
|
||||
int r;
|
||||
#endif /* !__MINGW__ */
|
||||
|
@ -3759,7 +3759,7 @@ int ptype, struct sockaddr_in *addr, unsigned short *p, uptr *v)
|
|||
gdo_req msg;
|
||||
struct sockaddr_in sin;
|
||||
#if defined(__MINGW__)
|
||||
uint32_t dummy;
|
||||
DWORD dummy;
|
||||
#endif /* __MINGW__ */
|
||||
|
||||
*p = 0;
|
||||
|
|
Loading…
Reference in a new issue