The argument to ctype functions must be EOF or representable as an
authorflorian <florian@openbsd.org>
Thu, 15 Dec 2022 08:06:13 +0000 (08:06 +0000)
committerflorian <florian@openbsd.org>
Thu, 15 Dec 2022 08:06:13 +0000 (08:06 +0000)
commit4a50067c81ccb6fd6654540923abf553683ef01d
tree60c4e71e0b9b745fb2582dcccf2a7b1422d84333
parente5b1332beb1627da7c8b7b828e1c69e65ec9a8f6
The argument to ctype functions must be EOF or representable as an
unsigned char.

Casting to int is particularly useless because that's what the
compiler already does. We need to prevent sign extension, not write
down that we want sign extension.

OK deraadt, kn, miod
usr.sbin/acme-client/parse.y