summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-11 17:40:30 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-11 17:40:30 (GMT)
commit88e1932930245b2f7ed300ff8b31034db7ecda5b (patch)
tree24c7f022f6ad56016e6a9303bc92ab3cc1a43477 /Modules/socketmodule.c
parent7f589fddad94f0f2da38a8d0ef6eba2597c4876d (diff)
downloadcpython-88e1932930245b2f7ed300ff8b31034db7ecda5b.zip
cpython-88e1932930245b2f7ed300ff8b31034db7ecda5b.tar.gz
cpython-88e1932930245b2f7ed300ff8b31034db7ecda5b.tar.bz2
fixed a warning in getsockaddrlen
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
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) {