mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Errare humanum est.
Changed parameter in getsockaddrlen from unsigned to socklen_t.
This commit is contained in:
parent
e17fd2a5af
commit
618e25dfdf
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, unsigned int *len_ret)
|
||||
getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
|
||||
{
|
||||
switch (s->sock_family) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue