diff --git a/include/libssh2.h b/include/libssh2.h index 3cb2be5..322aa5e 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -281,7 +281,8 @@ typedef struct _LIBSSH2_POLLFD { unsigned char type; /* LIBSSH2_POLLFD_* below */ union { - int socket; /* File descriptors -- examined with system select() call */ + libssh2_socket_t socket; /* File descriptors -- examined with + system select() call */ LIBSSH2_CHANNEL *channel; /* Examined by checking internal state */ LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound connections waiting to be accepted? */