mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Issue #9566: use Py_ssize_t instead of int
This commit is contained in:
parent
6ab8e8298e
commit
0fcab4a3ed
14 changed files with 32 additions and 33 deletions
|
@ -81,10 +81,9 @@ reap_obj(pylist fd2obj[FD_SETSIZE + 1])
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue