Permalink
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...
1 parent f98edf7 commit 5d460261b59db232ce331bbafb13272d65814ed3 @mhowlett mhowlett committed with sustrik Nov 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/poll.c
View
@@ -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;

0 comments on commit 5d46026

Please sign in to comment.