Mercurial > hg > octave-lyh > gnulib-hg
changeset 10701:8666d9b0d37a
lib/sys_socket.in.h (FD_ISSET): Fix warnings under mingw.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 22 Oct 2008 18:06:15 +0200 |
parents | 85c66517b16a |
children | c1444c2ed476 |
files | ChangeLog lib/sys_socket.in.h |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +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.
--- a/lib/sys_socket.in.h +++ b/lib/sys_socket.in.h @@ -120,9 +120,9 @@ /* 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;