summaryrefslogtreecommitdiff
path: root/soltools/cpp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-22 21:58:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-22 21:58:37 +0100
commit97a6bf07012f5a55d16f28c3bb3d039a09f8d700 (patch)
treeb6eb6b1932a4cdb5eb7d9dbc2a294f0a8de2ef66 /soltools/cpp
parentcea11039b29cffa0c8045ead30ddfc4859595c7e (diff)
Fix passing plain char into ctype.h is* functions
Change-Id: I4de56462e1fe5bba3035fec691feda91be88b434
Diffstat (limited to 'soltools/cpp')
-rw-r--r--soltools/cpp/_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index 1010e3084eb6..274ee5acaf3a 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -149,7 +149,7 @@ void
case 'w':
dp = &optarg[n + 1];
n += (int)strlen(dp);
- while (isspace(*dp)) dp++;
+ while (isspace((unsigned char)*dp)) dp++;
for (i = NINCLUDE - 1; i >= 0; i--)
{