diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-01 15:38:04 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-01 15:42:34 +0200 |
commit | fd2b46d8791d4c8253a54e7bbfab4bdbd76e40d7 (patch) | |
tree | 35986df4c5d442750378d2c5f3a60af091572e85 /win | |
parent | 2e1d10ecacc8ccfc0bda8a199c741ee36df981be (diff) | |
download | mariadb-git-fd2b46d8791d4c8253a54e7bbfab4bdbd76e40d7.tar.gz |
fix warning
Diffstat (limited to 'win')
-rw-r--r-- | win/packaging/ca/CustomAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/packaging/ca/CustomAction.cpp b/win/packaging/ca/CustomAction.cpp index 1e054c02440..b9d938f4443 100644 --- a/win/packaging/ca/CustomAction.cpp +++ b/win/packaging/ca/CustomAction.cpp @@ -318,7 +318,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); |