(setsockopt): Fix type of argument optval to conform to spec.
This commit is contained in:
parent
1a3a7b9837
commit
4caa4c6cc9
2 changed files with 2 additions and 2 deletions
|
@ -269,7 +269,7 @@ posix_listen(int fd, int backlog)
|
|||
#undef setsockopt
|
||||
int
|
||||
posix_setsockopt(int fd, int level, int optname,
|
||||
const char *optval, int optlen)
|
||||
const void *optval, int optlen)
|
||||
{
|
||||
/*
|
||||
* SO_REUSEADDR requests from tcp_listen.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue