diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 12:59:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 12:59:15 (GMT) |
commit | 0fcab4a3ed5e39769609b60d6179c4c801e45985 (patch) | |
tree | fc5592e351ed18a96d7e94aeb2ced52c0ba2fd0d /Modules/selectmodule.c | |
parent | 6ab8e8298eba1d52debc53d6e6a38d419bb255c0 (diff) | |
download | cpython-0fcab4a3ed5e39769609b60d6179c4c801e45985.zip cpython-0fcab4a3ed5e39769609b60d6179c4c801e45985.tar.gz cpython-0fcab4a3ed5e39769609b60d6179c4c801e45985.tar.bz2 |
Issue #9566: use Py_ssize_t instead of int
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 58cc4c7..65e1826 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -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; |