diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-11-18 08:42:54 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-11-18 08:42:54 +0000 |
commit | 1e37ee8eb1ed0f446c83058a058c109b08be4797 (patch) | |
tree | 2fcba2aa8dd1f926cf227feec7402c3914875b35 /share | |
parent | 85f9fc6ccbc56c4224aba5691ddf913cffa886a7 (diff) |
Cast atomic_load_int(9) to signed int when loading `securelevel'.
The return value of atomic_load_int(9) is unsigned so needs a cast,
otherwise securelevel=-1 gets misrepresented.
From Paul Fertser.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions