From 35848f2a32d914bc1302bdbceaa949770fc4aea4 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 23 Apr 2020 12:17:54 +0200 Subject: [PATCH] QUrl: fix implicit int->QChar conversion They're becoming explicit. Change-Id: I1221ee8fb3b373a991ddedc66a50f5d3b501876f Reviewed-by: Volker Hilsheimer --- src/corelib/io/qurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;