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.
Details
Details
- Reviewers
pacien Alphare - Group Reviewers
hg-reviewers - Commits
- rHG9ce563fb2989: revlog: fix wrong type of rank_unknown variable
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.