Errare humanum est.
Changed parameter in getsockaddrlen from unsigned to socklen_t.
This commit is contained in:
parent
e17fd2a5af
commit
618e25dfdf
|
@ -575,7 +575,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, struct sockaddr **addr_ret
|
|||
through len_ret. */
|
||||
|
||||
static int
|
||||
getsockaddrlen(PySocketSockObject *s, unsigned int *len_ret)
|
||||
getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
|
||||
{
|
||||
switch (s->sock_family) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue