Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed fd type in nn_poll on windows

On Windows fd type should be SOCKET not int in nn_poll.

Signed-off-by: Martin Sustrik <>
  • Loading branch information...
commit 5d460261b59db232ce331bbafb13272d65814ed3 1 parent f98edf7
@mhowlett mhowlett authored sustrik committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/poll.c
2  src/core/poll.c
@@ -33,7 +33,7 @@ int nn_poll (struct nn_pollfd *fds, int nfds, int timeout)
int rc;
int i;
fd_set fdset;
- int fd;
+ SOCKET fd;
int res;
size_t sz;
struct timeval tv;
Please sign in to comment.
Something went wrong with that request. Please try again.