summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-11 23:00:12 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-11 23:00:12 (GMT)
commit618e25dfdfed6130eac579d85d983c684619e29b (patch)
tree5ea7fca17a0784d8ef8515293a422723826e63b0
parente17fd2a5afab84e58e60df87b02b9c7139a57248 (diff)
downloadcpython-618e25dfdfed6130eac579d85d983c684619e29b.zip
cpython-618e25dfdfed6130eac579d85d983c684619e29b.tar.gz
cpython-618e25dfdfed6130eac579d85d983c684619e29b.tar.bz2
Errare humanum est.
Changed parameter in getsockaddrlen from unsigned to socklen_t.
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index cadf609..56e30d1 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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) {