mirror of https://github.com/python/cpython
fixed a warning in getsockaddrlen
This commit is contained in:
parent
7f589fddad
commit
88e1932930
|
@ -575,7 +575,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, struct sockaddr **addr_ret
|
|||
through len_ret. */
|
||||
|
||||
static int
|
||||
getsockaddrlen(PySocketSockObject *s, int *len_ret)
|
||||
getsockaddrlen(PySocketSockObject *s, unsigned int *len_ret)
|
||||
{
|
||||
switch (s->sock_family) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue