[Updated] D11335: revlog: fix more type confusion in index_replace_sidedata_info (issue6580)
jcristau (Julien Cristau)
phabricator at mercurial-scm.org
Wed Aug 25 09:06:21 UTC 2021
Closed by commit rHG4db5f465283b: revlog: fix more type confusion in index_replace_sidedata_info (issue6580) (authored by jcristau).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11335?vs=30004&id=30005
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11335/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11335
AFFECTED FILES
mercurial/cext/revlog.c
CHANGE DETAILS
diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c
+++ b/mercurial/cext/revlog.c
@@ -535,7 +535,8 @@
static PyObject *index_replace_sidedata_info(indexObject *self, PyObject *args)
{
uint64_t offset_flags, sidedata_offset;
- int rev, sidedata_comp_len;
+ Py_ssize_t rev;
+ int sidedata_comp_len;
char comp_mode;
char *data;
#if LONG_MAX == 0x7fffffffL
To: jcristau, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210825/bd8532e7/attachment-0002.html>
More information about the Mercurial-patches
mailing list