Mercurial > hg
comparison tests/test-lfs-largefiles.t @ 48964:9ce563fb2989 stable
revlog: fix wrong type of rank_unknown variable
We treat "rank" as an int everywhere, but declare rank_unknown as a
char. On architectures where char is signed, that works out ok, but
when char is unsigned, rank_unknown is 255 instead of -1.
Differential Revision: https://phab.mercurial-scm.org/D12374
author | Julien Cristau <jcristau@debian.org> |
---|---|
date | Mon, 14 Mar 2022 17:57:03 +0100 |
parents | 9e11a06bbb63 |
children |
comparison
equal
deleted
inserted
replaced
48962:59be65b7cdfd | 48964:9ce563fb2989 |
---|