Mercurial > hg
diff mercurial/cext/revlog.c @ 40454:a91a2837150b stable 4.8
rust: fix signature of rustlazyancestors_init() function
Obviously, sizeof(int) != mem::size_of::<usize>() on amd64, though the
argument would be passed in 64-bit register anyway.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 28 Oct 2018 21:16:36 +0900 |
parents | 72b94f946e90 |
children | 4fe63b573791 9cdd525d97b2 |
line wrap: on
line diff
--- a/mercurial/cext/revlog.c Fri Nov 02 21:25:35 2018 +0900 +++ b/mercurial/cext/revlog.c Sun Oct 28 21:16:36 2018 +0900 @@ -2311,7 +2311,7 @@ /* to pass index_get_parents() */ int (*)(indexObject *, Py_ssize_t, int*, int), /* intrevs vector */ - int initrevslen, long *initrevs, + Py_ssize_t initrevslen, long *initrevs, long stoprev, int inclusive); void rustlazyancestors_drop(rustlazyancestorsObject *self);