diff options
Diffstat (limited to 'src/lib-popt/poptparse.c')
-rw-r--r-- | src/lib-popt/poptparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-popt/poptparse.c b/src/lib-popt/poptparse.c index eb2a6721..135ead56 100644 --- a/src/lib-popt/poptparse.c +++ b/src/lib-popt/poptparse.c @@ -45,7 +45,7 @@ int poptParseArgvString(const char * s, int * argcPtr, char *** argvPtr) { if (*src != quote) *buf++ = '\\'; } *buf++ = *src; - } else if (isspace(*src)) { + } else if (isspace((int) (unsigned char) *src)) { if (*argv[argc]) { buf++, argc++; if (argc == argvAlloced) { |