[vlc-commits] commit: Win32: fix a few warnings ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
git at videolan.org
git at videolan.org
Wed Nov 24 21:59:44 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 24 22:52:34 2010 +0200| [899a63133af3a92193421a0868af6d2021c77704] | committer: Rémi Denis-Courmont
Win32: fix a few warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=899a63133af3a92193421a0868af6d2021c77704
---
src/network/poll.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/network/poll.c b/src/network/poll.c
index 9889f12..41ed1b8 100644
--- a/src/network/poll.c
+++ b/src/network/poll.c
@@ -112,11 +112,11 @@ resume:
* is yet to support it.
*/
if (fds[i].events & POLLIN)
- FD_SET (fd, &rdset);
+ FD_SET ((SOCKET)fd, rdset);
if (fds[i].events & POLLOUT)
- FD_SET (fd, &wrset);
+ FD_SET ((SOCKET)fd, wrset);
if (fds[i].events & POLLPRI)
- FD_SET (fd, &exset);
+ FD_SET ((SOCKET)fd, exset);
}
#ifndef HAVE_ALERTABLE_SELECT
More information about the vlc-commits
mailing list