diff options
author | Andreas Schneider <asn@cynapses.org> | 2011-01-02 19:23:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2011-01-02 19:35:53 +0100 |
commit | 73c0cd050e59f7a2663b729b6824de3a559299b6 (patch) | |
tree | fbc3355591ad9cb7fe9a563f674e20679bdc8271 | |
parent | c54d6b7f8acc8c0b353a88a4781abfc673670287 (diff) | |
download | libssh-73c0cd050e59f7a2663b729b6824de3a559299b6.tar.gz libssh-73c0cd050e59f7a2663b729b6824de3a559299b6.tar.xz libssh-73c0cd050e59f7a2663b729b6824de3a559299b6.zip |
poll: Fixed a build warning on Windows.
-rw-r--r-- | src/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |