aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-02 19:23:13 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-02 19:35:53 +0100
commit73c0cd050e59f7a2663b729b6824de3a559299b6 (patch)
treefbc3355591ad9cb7fe9a563f674e20679bdc8271
parentc54d6b7f8acc8c0b353a88a4781abfc673670287 (diff)
downloadlibssh-73c0cd050e59f7a2663b729b6824de3a559299b6.tar.gz
libssh-73c0cd050e59f7a2663b729b6824de3a559299b6.tar.xz
libssh-73c0cd050e59f7a2663b729b6824de3a559299b6.zip
poll: Fixed a build warning on Windows.
-rw-r--r--src/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.c b/src/poll.c
index 20e3a4fc..0ca0524a 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -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;