Commit f1c35a99 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Merge branch '10.3' into 10.4

parents 6da14d7b fd2b46d8
......@@ -326,7 +326,7 @@ static bool IsPortInUse(unsigned short port)
}
bool in_use = false;
if (bind(ip_sock, a->ai_addr, a->ai_addrlen) == SOCKET_ERROR)
if (bind(ip_sock, a->ai_addr, (int)a->ai_addrlen) == SOCKET_ERROR)
{
DWORD last_error = WSAGetLastError();
in_use = (last_error == WSAEADDRINUSE || last_error == WSAEACCES);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment