Submitter | phabricator |
---|---|
Date | Jan. 21, 2020, 8:25 p.m. |
Message ID | <differential-rev-PHID-DREV-zj3xwyvzrbahltiuldok-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/44561/ |
State | Superseded |
Headers | show |
Comments
pulkit added a comment. pulkit added subscribers: martinvonz, durin42, pulkit. This should go to stable branch right? cc: @martinvonz @durin42 REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7964/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7964 To: spectral, #hg-reviewers Cc: pulkit, durin42, martinvonz, mercurial-devel
durin42 added a comment. Yes, I'll move this to stable. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7964/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7964 To: spectral, #hg-reviewers Cc: pulkit, durin42, martinvonz, mercurial-devel
Patch
diff --git a/mercurial/cext/manifest.c b/mercurial/cext/manifest.c --- a/mercurial/cext/manifest.c +++ b/mercurial/cext/manifest.c @@ -80,7 +80,7 @@ PyObject *hash = nodeof(l); /* 40 for hash, 1 for null byte, 1 for newline */ - size_t hplen = plen + 42; + Py_ssize_t hplen = plen + 42; Py_ssize_t flen = l->len - hplen; PyObject *flags; PyObject *tup; @@ -525,7 +525,7 @@ PyObject *pyflags; char *flags; Py_ssize_t flen; - size_t dlen; + Py_ssize_t dlen; char *dest; int i; line new;