summaryrefslogtreecommitdiff
path: root/src/condparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/condparser.cpp')
-rw-r--r--src/condparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condparser.cpp b/src/condparser.cpp
index 3b260c2..0aca5b7 100644
--- a/src/condparser.cpp
+++ b/src/condparser.cpp
@@ -81,7 +81,7 @@ static bool isAlpha(const char c)
static bool isAlphaNumSpec(const char c)
{
- return isAlpha(c) || (c>='0' && c<='9') || c=='-' || c=='.' || (((unsigned char)c)>=0x80);
+ return isAlpha(c) || (c>='0' && c<='9') || c=='-' || c=='.' || (static_cast<unsigned char>(c)>=0x80);
}
/**