vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to