diff -r 5d41ebc79738 Modules/socketmodule.c --- a/Modules/socketmodule.c Sun Jul 07 09:49:23 2013 +0200 +++ b/Modules/socketmodule.c Mon Jul 08 00:38:30 2013 +0400 @@ -2773,7 +2773,8 @@ sock_send(PySocketSockObject *s, PyObject *args) { char *buf; - int len, n = -1, flags = 0, timeout; + int n = -1, flags = 0, timeout; + size_t len; Py_buffer pbuf; if (!PyArg_ParseTuple(args, "s*|i:send", &pbuf, &flags)) @@ -2823,7 +2824,8 @@ sock_sendall(PySocketSockObject *s, PyObject *args) { char *buf; - int len, n = -1, flags = 0, timeout, saved_errno; + int n = -1, flags = 0, timeout, saved_errno; + size_t len; Py_buffer pbuf; if (!PyArg_ParseTuple(args, "s*|i:sendall", &pbuf, &flags))