Use correct definitjion for integer type in windows

This commit is contained in:
Richard Frith-Macdonald 2020-12-09 16:50:44 +00:00
parent afde524e82
commit 12f3f02c06

View file

@ -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;