# HG changeset patch # User Joerg Sonnenberger # Date 2020-12-08 22:01:24 # Node ID c581b9ee22b18b2b0c560a2ec9ebfcae9790af59 # Parent 7a2b67e6b680a6285c280e7f04429262a5744a18 cext: match format string for 32bit long platforms Differential Revision: https://phab.mercurial-scm.org/D9546 diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c --- a/mercurial/cext/revlog.c +++ b/mercurial/cext/revlog.c @@ -370,7 +370,7 @@ static int node_check(PyObject *obj, cha static PyObject *index_append(indexObject *self, PyObject *obj) { - unsigned long offset_flags; + uint64_t offset_flags; int rev, comp_len, uncomp_len, base_rev, link_rev, parent_1, parent_2; Py_ssize_t c_node_id_len; const char *c_node_id;