changeset 22400 | 888bc106de83 |
parent 22399 | 9f490afcb067 |
child 22401 | 9ba8a93e55f5 |
22399:9f490afcb067 | 22400:888bc106de83 |
---|---|
879 for (i = 0; i < len; i++) { |
879 for (i = 0; i < len; i++) { |
880 PyObject *head; |
880 PyObject *head; |
881 |
881 |
882 if (nothead[i]) |
882 if (nothead[i]) |
883 continue; |
883 continue; |
884 head = PyInt_FromLong(i); |
884 head = PyInt_FromSsize_t(i); |
885 if (head == NULL || PyList_Append(heads, head) == -1) { |
885 if (head == NULL || PyList_Append(heads, head) == -1) { |
886 Py_XDECREF(head); |
886 Py_XDECREF(head); |
887 goto bail; |
887 goto bail; |
888 } |
888 } |
889 } |
889 } |