diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2022-01-19 20:29:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-20 00:29:43 +0100 |
commit | 6fd9cd1599381115ca57786c4412e4501dda1748 (patch) | |
tree | 2cf098523f880f1ed7849073be6ac79356e6a8e7 /libstore | |
parent | 996448841d7714f6404a6e2173eaa06f9b64ad5f (diff) | |
download | hurd-6fd9cd1599381115ca57786c4412e4501dda1748.tar.gz hurd-6fd9cd1599381115ca57786c4412e4501dda1748.tar.bz2 hurd-6fd9cd1599381115ca57786c4412e4501dda1748.zip |
libpager: fix assertion unsigned against 0
Comparing an unsigned to be superior or equals to 0 is always true,
instead move the assert before the substraction and compare it to the
value to substract.
Message-Id: <20220119192945.36654-2-etienne.brateau@gmail.com>
Diffstat (limited to 'libstore')
0 files changed, 0 insertions, 0 deletions