summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-04-23 12:17:54 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-04-23 18:45:38 +0200
commit35848f2a32d914bc1302bdbceaa949770fc4aea4 (patch)
treec3ea796bffeb0decf37442631e8d0b4364244e9a /src
parent9ba0715f08a64758453b941c4add22a269a30f71 (diff)
QUrl: fix implicit int->QChar conversion
They're becoming explicit. Change-Id: I1221ee8fb3b373a991ddedc66a50f5d3b501876f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 49570697ef..54929c68e6 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -1209,7 +1209,7 @@ static const QChar *parseIpFuture(QString &host, const QChar *begin, const QChar
// uppercase the version, if necessary
if (begin[2].unicode() >= 'a')
- host[host.length() - 2] = begin[2].unicode() - 0x20;
+ host[host.length() - 2] = QChar{begin[2].unicode() - 0x20};
begin += 4;
--end;