Show More
@@ -184,7 +184,8 b' static PyObject *parse_dirstate(PyObject' | |||
|
184 | 184 | goto quit; |
|
185 | 185 | } |
|
186 | 186 | |
|
187 |
parents = Py_BuildValue(PY23("s#s#", "y#y#"), str, 20, |
|
|
187 | parents = Py_BuildValue(PY23("s#s#", "y#y#"), str, (Py_ssize_t)20, | |
|
188 | str + 20, (Py_ssize_t)20); | |
|
188 | 189 | if (!parents) { |
|
189 | 190 | goto quit; |
|
190 | 191 | } |
@@ -366,7 +366,7 b' static PyObject *index_get(indexObject *' | |||
|
366 | 366 | |
|
367 | 367 | entry = Py_BuildValue(tuple_format, offset_flags, comp_len, uncomp_len, |
|
368 | 368 | base_rev, link_rev, parent_1, parent_2, c_node_id, |
|
369 | 20); | |
|
369 | (Py_ssize_t)20); | |
|
370 | 370 | |
|
371 | 371 | if (entry) { |
|
372 | 372 | PyObject_GC_UnTrack(entry); |
@@ -3017,8 +3017,9 b' void revlog_module_init(PyObject *mod)' | |||
|
3017 | 3017 | PyModule_AddObject(mod, "nodetree", (PyObject *)&nodetreeType); |
|
3018 | 3018 | |
|
3019 | 3019 | if (!nullentry) { |
|
3020 | nullentry = Py_BuildValue(PY23("iiiiiiis#", "iiiiiiiy#"), 0, 0, | |
|
3021 | 0, -1, -1, -1, -1, nullid, 20); | |
|
3020 | nullentry = | |
|
3021 | Py_BuildValue(PY23("iiiiiiis#", "iiiiiiiy#"), 0, 0, 0, -1, | |
|
3022 | -1, -1, -1, nullid, (Py_ssize_t)20); | |
|
3022 | 3023 | } |
|
3023 | 3024 | if (nullentry) |
|
3024 | 3025 | PyObject_GC_UnTrack(nullentry); |
General Comments 0
You need to be logged in to leave comments.
Login now