QUrl: fix implicit int->QChar conversion

They're becoming explicit.

Change-Id: I1221ee8fb3b373a991ddedc66a50f5d3b501876f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Marc Mutz 2020-04-23 12:17:54 +02:00
parent 9ba0715f08
commit 35848f2a32
1 changed files with 1 additions and 1 deletions

View File

@ -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;