diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-12-15 18:20:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-12-15 18:20:40 +0000 |
commit | fb145a59e411e55116f4e2d781103b3958634a89 (patch) | |
tree | c0b0ebb5d0a85638bf26106ec9d0270ca8e70e8c /usr.bin/uniq | |
parent | f31e9c0b3b7f8e98c19aad103a00660c1caa551a (diff) |
The idiomatic way of coping with signed char vs unsigned char (which
did not come from stdio read functions) in the presence of ctype
macros, is to always cast to (unsigned char). casting to (int) for
a "macro" which is documented to take int, is weird. And sadly wrong,
because of the sing extension risk..
same diff from florian
Diffstat (limited to 'usr.bin/uniq')
0 files changed, 0 insertions, 0 deletions