Skip to content

Commit

Permalink
Merge branch '10.3' into 10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Jun 1, 2020
2 parents 6da14d7 + fd2b46d commit f1c35a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/packaging/ca/CustomAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f1c35a9

Please sign in to comment.