diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2008-05-13 09:18:51 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2008-05-13 09:18:51 (GMT) |
commit | 7499bb250d8f48d44a1fd6ab0df1ad308e5eda5f (patch) | |
tree | aee62308ebbf257b2c4684e5f4f36d83a29f4722 /Source/kwsys/ProcessUNIX.c | |
parent | 113a9dc85ab329c5e29e2a56091f1cfb427c9373 (diff) | |
download | CMake-7499bb250d8f48d44a1fd6ab0df1ad308e5eda5f.zip CMake-7499bb250d8f48d44a1fd6ab0df1ad308e5eda5f.tar.gz CMake-7499bb250d8f48d44a1fd6ab0df1ad308e5eda5f.tar.bz2 |
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
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |