mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
fixed a warning in getsockaddrlen
This commit is contained in:
parent
7f589fddad
commit
88e1932930
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue