summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 6ca7eeb7..1cc19ca0 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -516,7 +516,7 @@ strings_list split_arguments(const char * line)
char in_quoted_string = '\0';
for (const char * p = line; *p; p++) {
- if (! in_quoted_string && std::isspace(*p)) {
+ if (! in_quoted_string && std::isspace(static_cast<unsigned char>(*p))) {
if (q != buf) {
*q = '\0';
args.push_back(buf);