fix "warning array subscript has type 'char'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -116,7 +116,7 @@ int main(int argc, const char * argv [])
|
||||
/* We found #define CONFIG_foo or #undef CONFIG_foo.
|
||||
* Make the output file name. */
|
||||
str_config += sizeof(" CONFIG_") - 1;
|
||||
for (itarget = 0; !isspace(str_config[itarget]); itarget++)
|
||||
for (itarget = 0; !isspace((unsigned char)str_config[itarget]); itarget++)
|
||||
{
|
||||
int c = (unsigned char) str_config[itarget];
|
||||
if (isupper(c)) c = tolower(c);
|
||||
|
Reference in New Issue
Block a user