1
0
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:
Andreas Schneider
2011-01-02 19:23:13 +01:00
parent c54d6b7f8a
commit 73c0cd050e

View File

@@ -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;