Fix type for ssl_poll

This commit is contained in:
Vladimir Dubrovin committed 2024-06-04 19:26:34 +03:00
1 parent 94dfa195db
commit ab8db00b1f
1 file changed
+4
+4
View File
@@ -211,7 +211,11 @@ static int WINAPI ssl_closesocket(void *state, SOCKET s){
return sso._closesocket(sso.state, s);
}
#ifdef _WIN32
static int WINAPI ssl_poll(void *state, struct pollfd *fds, unsigned int nfds, int timeout){
#else
static int ssl_poll(void *state, struct pollfd *fds, nfds_t nfds, int timeout){
#endif
struct SSLsock *sslq = NULL;
unsigned int i;
int ret = 0;