(setsockopt): Fix type of argument optval to conform to spec.

This commit is contained in:
Markus Armbruster 2007-08-18 07:00:16 +00:00
parent 1a3a7b9837
commit 4caa4c6cc9
2 changed files with 2 additions and 2 deletions

View file

@ -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