mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
poll: Fixed a build warning on Windows.
This commit is contained in:
@@ -119,7 +119,7 @@ static WSAPoll_FunctionType wsa_poll;
|
||||
|
||||
int win_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
|
||||
if (wsa_poll) {
|
||||
return (wsa_poll)(fds, nfds, timeout);
|
||||
return (wsa_poll)((WSAPOLLFD *) fds, nfds, timeout);
|
||||
}
|
||||
|
||||
return SOCKET_ERROR;
|
||||
|
Reference in New Issue
Block a user