Re: [PATCH v3] Fix warning in isspace() and isdigit().

2020-07-20 Thread Sebastian Huber
Hello Aschref, please use v3 only for the third version of a patch. This is a new patch. To avoid confusion please use distinctive subjects. Please fix also the coding style in this patch. Since this change is similar to the first patch, maybe these two patches should be just one. You can co

[PATCH v3] Fix warning in isspace() and isdigit().

2020-07-20 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet The warning may be because you're passing a char to the isspace() macro. The implementation of isspace() may be via array indexing. (The argument to the isspace()/isdegit() macro is defined to be an unsigned char the value of which can fit in an unsignedchar). at ctype.h