##// END OF EJS Templates
parsers: fix typing issue when constructing Python integer object...
Henrik Stuart -
r22400:888bc106 default
parent child Browse files
Show More
@@ -881,7 +881,7 b' static PyObject *index_headrevs(indexObj'
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;
General Comments 0
You need to be logged in to leave comments. Login now