Submitter | phabricator |
---|---|
Date | Jan. 21, 2020, 10:06 p.m. |
Message ID | <1ab8a17ab87d297ff41db6edd151bda8@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/44564/ |
State | Not Applicable |
Headers | show |
Comments
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;