Show More
@@ -1156,7 +1156,8 b' static PyObject *compute_phases_map_sets' | |||||
1156 | if (minrevallphases != -1) { |
|
1156 | if (minrevallphases != -1) { | |
1157 | int parents[2]; |
|
1157 | int parents[2]; | |
1158 | for (i = minrevallphases; i < len; i++) { |
|
1158 | for (i = minrevallphases; i < len; i++) { | |
1159 |
if (index_get_parents(self, i, parents, |
|
1159 | if (index_get_parents(self, i, parents, | |
|
1160 | (int)len - 1) < 0) | |||
1160 | goto release_phasesetlist; |
|
1161 | goto release_phasesetlist; | |
1161 | set_phase_from_parents(phases, parents[0], parents[1], i); |
|
1162 | set_phase_from_parents(phases, parents[0], parents[1], i); | |
1162 | } |
|
1163 | } | |
@@ -1256,7 +1257,7 b' static PyObject *index_headrevs(indexObj' | |||||
1256 | continue; |
|
1257 | continue; | |
1257 | } |
|
1258 | } | |
1258 |
|
1259 | |||
1259 | if (index_get_parents(self, i, parents, len - 1) < 0) |
|
1260 | if (index_get_parents(self, i, parents, (int)len - 1) < 0) | |
1260 | goto bail; |
|
1261 | goto bail; | |
1261 | for (j = 0; j < 2; j++) { |
|
1262 | for (j = 0; j < 2; j++) { | |
1262 | if (parents[j] >= 0) |
|
1263 | if (parents[j] >= 0) |
General Comments 0
You need to be logged in to leave comments.
Login now