summaryrefslogtreecommitdiff
path: root/lib/setsockopt.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-03-01 20:45:42 +0100
committerBruno Haible <bruno@clisp.org>2009-03-01 20:45:42 +0100
commit6aebe8304ac5fcc50de5042107fada53612d552e (patch)
tree2e33ed00905a6b39e7ce8321838f5d419f8f50fe /lib/setsockopt.c
parent3b765946c7ef6e3139750ca7956aa72835ff22c3 (diff)
downloadgnulib-6aebe8304ac5fcc50de5042107fada53612d552e.tar.gz
Use socklen_t in the native Windows replacements prototypes.
Diffstat (limited to 'lib/setsockopt.c')
-rw-r--r--lib/setsockopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setsockopt.c b/lib/setsockopt.c
index 64f4a814ed..96a00cc2e7 100644
--- 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);