diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2021-10-15 15:01:30 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2021-10-15 15:01:30 +0000 |
commit | 1962f7440266854ff99ccbcccdb8901d4a390f3b (patch) | |
tree | a370187304af1b3e92149ae0b83ab036b229cba8 /distrib/special | |
parent | 419d75fa85d117d2faff0336cca5f20917cc3bfb (diff) |
Don't declare variables as "unsigned char *" that are passed to
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.
For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.
With help from millert@
ok benno@ deraadt@
Diffstat (limited to 'distrib/special')
0 files changed, 0 insertions, 0 deletions