Skip to content
Snippets Groups Projects
Commit a89d307b authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

ENH: all ctype function have the same issue: char can be signed or unsigned,...

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
parent 21bb18e8
No related branches found
No related tags found
No related merge requests found
......@@ -2807,7 +2807,7 @@ static char** kwsysProcessParseVerbatimCommand(const char* command)
}
}
}
else if(isspace((int) *c))
else if(isspace((unsigned char) *c))
{
if(in_argument)
{
......
......@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2008)
SET(KWSYS_DATE_STAMP_MONTH 05)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 12)
SET(KWSYS_DATE_STAMP_DAY 13)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment