Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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 <sustrik@250bpm.com>
  • 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
View
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.