fix "warning array subscript has type 'char'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1 parent
eb1b2902b8
commit
1a45b2ccea
7 files changed
+22
-22
No files matched your search
@@ -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