From 73c0cd050e59f7a2663b729b6824de3a559299b6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 2 Jan 2011 19:23:13 +0100 Subject: poll: Fixed a build warning on Windows. --- src/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/poll.c') 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; -- cgit v1.2.1