From 88e1932930245b2f7ed300ff8b31034db7ecda5b Mon Sep 17 00:00:00 2001 From: Peter Schneider-Kamp Date: Tue, 11 Jul 2000 17:40:30 +0000 Subject: fixed a warning in getsockaddrlen --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index c46f1e0..cadf609 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, int *len_ret) +getsockaddrlen(PySocketSockObject *s, unsigned int *len_ret) { switch (s->sock_family) { -- cgit v0.12