From 7499bb250d8f48d44a1fd6ab0df1ad308e5eda5f Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Tue, 13 May 2008 05:18:51 -0400 Subject: 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 --- Source/kwsys/ProcessUNIX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 81f0643..becd004 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -2807,7 +2807,7 @@ static char** kwsysProcessParseVerbatimCommand(const char* command) } } } - else if(isspace((int) *c)) + else if(isspace((unsigned char) *c)) { if(in_argument) { -- cgit v0.12