lib/sys_socket.in.h (FD_ISSET): Fix warnings under mingw.
authorSimon Josefsson <simon@josefsson.org>
Wed, 22 Oct 2008 16:06:15 +0000 (18:06 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 22 Oct 2008 16:06:15 +0000 (18:06 +0200)
ChangeLog
lib/sys_socket.in.h

index bd0a10a..b6c2893 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-10-22  Simon Josefsson  <simon@josefsson.org>
 
+       * lib/sys_socket.in.h (FD_ISSET): Fix warnings under mingw.
+
+2008-10-22  Simon Josefsson  <simon@josefsson.org>
+
        * m4/getgroups.m4: Avoid invoking test with wrong parameters.
 
 2008-10-22  Eric Blake  <ebb9@byu.net>
index fcb4a22..91a6b33 100644 (file)
@@ -120,9 +120,9 @@ extern "C" {
 /* Re-define FD_ISSET to avoid a WSA call while we are not using
    network sockets.  */
 static inline int
-rpl_fd_isset (int fd, fd_set * set)
+rpl_fd_isset (SOCKET fd, fd_set * set)
 {
-  int i;
+  u_int i;
   if (set == NULL)
     return 0;