Patchwork D9546: cext: match format string for 32bit long platforms

login
register
mail settings
Submitter phabricator
Date Dec. 8, 2020, 10:01 p.m.
Message ID <differential-rev-PHID-DREV-cqguhqtak2dmsqu4vv6k-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47842/
State Superseded
Headers show

Comments

phabricator - Dec. 8, 2020, 10:01 p.m.
joerg.sonnenberger created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9546

AFFECTED FILES
  mercurial/cext/revlog.c

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 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;