D7913: cext: fix compiler warning about sign changing
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Fri Jan 17 07:14:44 EST 2020
yuja added a comment.
> static PyObject *hashflags(line *l)
> {
>
> char *s = l->start;
>
> - size_t plen = pathlen(l);
>
> + Py_ssize_t plen = pathlen(l);
We'll probably want to change `hplen` to `Py_ssize_t` as well.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7913/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7913
To: spectral, #hg-reviewers, mharbison72
Cc: yuja, mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list