diff options
Diffstat (limited to 'strings/conf_to_src.c')
-rw-r--r-- | strings/conf_to_src.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/conf_to_src.c b/strings/conf_to_src.c index 76316638153..89415d31820 100644 --- a/strings/conf_to_src.c +++ b/strings/conf_to_src.c @@ -80,7 +80,7 @@ print_array(FILE *f, const char *set, const char *name, int n) endptr = p; for (;;) { - while (isspace(*endptr)) + while (isspace((* (unsigned char*) endptr))) ++endptr; if (*endptr && *endptr != '#') /* not comment */ break; @@ -90,7 +90,7 @@ print_array(FILE *f, const char *set, const char *name, int n) } p = val; - while (!isspace(*endptr)) + while (!isspace((* (unsigned char*) endptr))) *p++ = *endptr++; *p = '\0'; p = endptr; |