ENH: all ctype function have the same issue: char can be signed or unsigned, since isspace only deal with >=0 value (except EOF) one has to first cast it to unsigned char

This commit is contained in:
Mathieu Malaterre 2008-05-13 05:18:51 -04:00
parent 113a9dc85a
commit 7499bb250d
1 changed files with 1 additions and 1 deletions

View File

@ -2807,7 +2807,7 @@ static char** kwsysProcessParseVerbatimCommand(const char* command)
}
}
}
else if(isspace((int) *c))
else if(isspace((unsigned char) *c))
{
if(in_argument)
{