Show More
@@ -457,7 +457,7 b' static Py_ssize_t add_roots_get_min(inde' | |||||
457 | Py_DECREF(iter_item); |
|
457 | Py_DECREF(iter_item); | |
458 | if (iter_item_long < min_idx) |
|
458 | if (iter_item_long < min_idx) | |
459 | min_idx = iter_item_long; |
|
459 | min_idx = iter_item_long; | |
460 | phases[iter_item_long] = marker; |
|
460 | phases[iter_item_long] = (char)marker; | |
461 | } |
|
461 | } | |
462 | Py_DECREF(iter); |
|
462 | Py_DECREF(iter); | |
463 | } |
|
463 | } | |
@@ -1100,7 +1100,7 b' static PyObject *nt_insert_py(nodetree *' | |||||
1100 | return NULL; |
|
1100 | return NULL; | |
1101 | } |
|
1101 | } | |
1102 | node = index_node_existing(self->index, rev); |
|
1102 | node = index_node_existing(self->index, rev); | |
1103 | if (nt_insert(self, node, rev) == -1) |
|
1103 | if (nt_insert(self, node, (int)rev) == -1) | |
1104 | return NULL; |
|
1104 | return NULL; | |
1105 | Py_RETURN_NONE; |
|
1105 | Py_RETURN_NONE; | |
1106 | } |
|
1106 | } | |
@@ -1283,7 +1283,7 b' static int index_init_nt(indexObject *se' | |||||
1283 | if (self->nt == NULL) { |
|
1283 | if (self->nt == NULL) { | |
1284 | return -1; |
|
1284 | return -1; | |
1285 | } |
|
1285 | } | |
1286 | if (nt_init(self->nt, self, self->raw_length) == -1) { |
|
1286 | if (nt_init(self->nt, self, (int)self->raw_length) == -1) { | |
1287 | nt_dealloc(self->nt); |
|
1287 | nt_dealloc(self->nt); | |
1288 | self->nt = NULL; |
|
1288 | self->nt = NULL; | |
1289 | return -1; |
|
1289 | return -1; |
General Comments 0
You need to be logged in to leave comments.
Login now