On 12.01.2021 19:12, Manuel Bouyer wrote: > From: Manuel Bouyer <bou...@netbsd.org> > > Use unsigned char variable, or cast to (unsigned char), for > tolower()/islower() and friends. Fix compiler error > array subscript has type 'char' [-Werror=char-subscripts]
Isn't this something that wants changing in your ctype.h instead? the functions (or macros), as per the C standard, ought to accept plain char aiui, and if they use the input as an array subscript, it should be their implementation suitably converting type first. Jan