There is already a `Py_ssize_t i` defined at function scope that is used
for similar loops. By removing the local `int i` declaration that `i` is
used, which has the appropriate type.
(cherry picked from commit
f8b534477a2a51d85ea1663530f685f805f2b247)
Co-authored-by: sth <sth.dev@tejp.de>
--- /dev/null
+Fix a crash when sorting very long lists. Patch by Stephan Hohe.
int ints_are_bounded = 1;
/* Prove that assumption by checking every key. */
- int i;
for (i=0; i < saved_ob_size; i++) {
if (keys_are_in_tuples &&