Mercurial > hg
comparison tests/test-lock.py @ 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 | 89a2afe31e82 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
48962:59be65b7cdfd | 48964:9ce563fb2989 |
---|