Commit 899a6313 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: fix a few warnings

parent 28d721cc
...@@ -112,11 +112,11 @@ resume: ...@@ -112,11 +112,11 @@ resume:
* is yet to support it. * is yet to support it.
*/ */
if (fds[i].events & POLLIN) if (fds[i].events & POLLIN)
FD_SET (fd, &rdset); FD_SET ((SOCKET)fd, rdset);
if (fds[i].events & POLLOUT) if (fds[i].events & POLLOUT)
FD_SET (fd, &wrset); FD_SET ((SOCKET)fd, wrset);
if (fds[i].events & POLLPRI) if (fds[i].events & POLLPRI)
FD_SET (fd, &exset); FD_SET ((SOCKET)fd, exset);
} }
#ifndef HAVE_ALERTABLE_SELECT #ifndef HAVE_ALERTABLE_SELECT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment