fixed a warning in getsockaddrlen

This commit is contained in:
Peter Schneider-Kamp 2000-07-11 17:40:30 +00:00
parent 7f589fddad
commit 88e1932930

View file

@ -575,7 +575,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, struct sockaddr **addr_ret
through len_ret. */ through len_ret. */
static int static int
getsockaddrlen(PySocketSockObject *s, int *len_ret) getsockaddrlen(PySocketSockObject *s, unsigned int *len_ret)
{ {
switch (s->sock_family) { switch (s->sock_family) {