win32: Fix socket fd type.

pull/1142/head
Biswapriyo Nath 2021-05-18 19:47:33 +05:30
rodzic 9d93531ac1
commit 553713d911
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -70,7 +70,7 @@ int win32_poll(struct pollfd *fds, unsigned int nfds, int timo) {
if (rc > 0) {
for ( i = 0; i < nfds; ++i) {
int fd = fds[i].fd;
SOCKET fd = fds[i].fd;
if (fds[i].events & (POLLIN | POLLPRI) && FD_ISSET(fd, &ifds)) {
fds[i].revents |= POLLIN;