(init_socket): get rid of a stupid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5726 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -190,7 +190,7 @@ init_socket(struct descr *d, krb5_address *a, int family, int type, int port)
|
||||
#if defined(HAVE_SETSOCKOPT) && defined(SOL_SOCKET) && defined(SO_REUSEADDR)
|
||||
{
|
||||
int one = 1;
|
||||
setsockopt(d->s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one));
|
||||
setsockopt(d->s, SOL_SOCKET, SO_REUSEADDR, (void *)&one, sizeof(one));
|
||||
}
|
||||
#endif
|
||||
d->type = type;
|
||||
|
Reference in New Issue
Block a user