diff --git a/win32port/win32helpers/websock-w32.c b/win32port/win32helpers/websock-w32.c index bec150b1..ec3022e9 100644 --- a/win32port/win32helpers/websock-w32.c +++ b/win32port/win32helpers/websock-w32.c @@ -46,7 +46,7 @@ INT WSAAPI emulated_poll(LPWSAPOLLFD fdarray, ULONG nfds, INT timeout) poll_fd->revents = 0; - if (poll_fd->fd < 0 || !poll_fd->events) + if ((int)poll_fd->fd < 0 || !poll_fd->events) goto skip1; if (max_socket < poll_fd->fd)