QUrl: fix implicit int->QChar conversion
They're becoming explicit. Change-Id: I1221ee8fb3b373a991ddedc66a50f5d3b501876f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
9ba0715f08
commit
35848f2a32
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue