Mercurial > hg > octave-jordi > gnulib-hg
diff lib/setsockopt.c @ 11250:c02a0fe7bcc4
Use socklen_t in the native Windows replacements prototypes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 01 Mar 2009 20:45:42 +0100 (2009-03-01) |
parents | e8ad1520586c |
children | 02b65a16c35d |
line wrap: on
line diff
--- a/lib/setsockopt.c +++ b/lib/setsockopt.c @@ -1,6 +1,6 @@ /* setsockopt.c --- wrappers for Windows setsockopt function - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ #undef setsockopt int -rpl_setsockopt (int fd, int level, int optname, const void *optval, int optlen) +rpl_setsockopt (int fd, int level, int optname, const void *optval, socklen_t optlen) { int r; SOCKET sock = FD_TO_SOCKET (fd);