diff options
Diffstat (limited to 'src/expr.cc')
-rw-r--r-- | src/expr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.cc b/src/expr.cc index 0866b8bb..720a6618 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -222,7 +222,7 @@ bool merged_expr_t::check_for_single_identifier(const string& expr) { bool single_identifier = true; for (const char * p = expr.c_str(); *p; ++p) - if (! std::isalnum(*p) || *p == '_') { + if (! std::isalnum(static_cast<unsigned char>(*p)) || *p == '_') { single_identifier = false; break; } |