There was an error while loading. Please reload this page.
2 parents 6da14d7 + fd2b46d commit f1c35a9Copy full SHA for f1c35a9
win/packaging/ca/CustomAction.cpp
@@ -326,7 +326,7 @@ static bool IsPortInUse(unsigned short port)
326
}
327
328
bool in_use = false;
329
- 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)
330
{
331
DWORD last_error = WSAGetLastError();
332
in_use = (last_error == WSAEADDRINUSE || last_error == WSAEACCES);
0 commit comments