##// END OF EJS Templates
parsers: silence warning of implicit integer conversion issued by clang...
Yuya Nishihara -
r25860:895f0495 stable
parent child Browse files
Show More
@@ -1156,7 +1156,8 b' static PyObject *compute_phases_map_sets'
1156 1156 if (minrevallphases != -1) {
1157 1157 int parents[2];
1158 1158 for (i = minrevallphases; i < len; i++) {
1159 if (index_get_parents(self, i, parents, len - 1) < 0)
1159 if (index_get_parents(self, i, parents,
1160 (int)len - 1) < 0)
1160 1161 goto release_phasesetlist;
1161 1162 set_phase_from_parents(phases, parents[0], parents[1], i);
1162 1163 }
@@ -1256,7 +1257,7 b' static PyObject *index_headrevs(indexObj'
1256 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 1261 goto bail;
1261 1262 for (j = 0; j < 2; j++) {
1262 1263 if (parents[j] >= 0)
General Comments 0
You need to be logged in to leave comments. Login now