summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/ssl/qasn1element.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qasn1element.cpp b/src/network/ssl/qasn1element.cpp
index 7d965e6ac9..93bfdfd0fc 100644
--- a/src/network/ssl/qasn1element.cpp
+++ b/src/network/ssl/qasn1element.cpp
@@ -241,9 +241,9 @@ QDateTime QAsn1Element::toDateTime() const
// QDateTime::fromString is lenient and accepts +- signs in front
// of the year; but ASN.1 doesn't allow them.
- const auto isAsciiDigit = [](QChar c)
+ const auto isAsciiDigit = [](char c)
{
- return c >= QLatin1Char('0') && c <= QLatin1Char('9');
+ return c >= '0' && c <= '9';
};
if (!isAsciiDigit(mValue[0]))