diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:58:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:58:37 +0100 |
commit | 97a6bf07012f5a55d16f28c3bb3d039a09f8d700 (patch) | |
tree | b6eb6b1932a4cdb5eb7d9dbc2a294f0a8de2ef66 /soltools/mkdepend/cppsetup.c | |
parent | cea11039b29cffa0c8045ead30ddfc4859595c7e (diff) |
Fix passing plain char into ctype.h is* functions
Change-Id: I4de56462e1fe5bba3035fec691feda91be88b434
Diffstat (limited to 'soltools/mkdepend/cppsetup.c')
-rw-r--r-- | soltools/mkdepend/cppsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/mkdepend/cppsetup.c b/soltools/mkdepend/cppsetup.c index 708e75dc099e..750142af9ddf 100644 --- a/soltools/mkdepend/cppsetup.c +++ b/soltools/mkdepend/cppsetup.c @@ -174,7 +174,7 @@ my_eval_defined (IfParser *ip, const char *var, size_t len) return 0; } -#define isvarfirstletter(ccc) (isalpha(ccc) || (ccc) == '_') +#define isvarfirstletter(ccc) (isalpha((unsigned char)(ccc)) || (ccc) == '_') static int my_eval_variable (IfParser *ip, const char *var, size_t len) |