Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 67347:3bf4d9f1660a
Issue #9566: use Py_ssize_t instead of int
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 04 Jan 2011 12:59:15 +0000 |
| parents | 3c4225bf87b4 |
| children | 3c9232a684ae |
line wrap: on
line diff
--- a/Modules/selectmodule.c Tue Jan 04 11:16:49 2011 +0000 +++ b/Modules/selectmodule.c Tue Jan 04 12:59:15 2011 +0000 @@ -81,10 +81,9 @@ static int seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1]) { - int i; int max = -1; int index = 0; - int len = -1; + Py_ssize_t i, len = -1; PyObject* fast_seq = NULL; PyObject* o = NULL;
