From 618e25dfdfed6130eac579d85d983c684619e29b Mon Sep 17 00:00:00 2001 From: Peter Schneider-Kamp Date: Tue, 11 Jul 2000 23:00:12 +0000 Subject: [PATCH] Errare humanum est. Changed parameter in getsockaddrlen from unsigned to socklen_t. --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index cadf60992c5..56e30d1398f 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) {