diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-06 14:06:21 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-12 11:49:38 +0200 |
commit | 11dc9454037fd3c5d69328d7babd86d34fd2c5d1 (patch) | |
tree | 823314d8ec37fb28380b7f0f2322fc28ca7f81de /src/corelib/io | |
parent | 5bd7668403761fae0eb434ae7f7b9ce99f894802 (diff) |
Port qustrlen and qustrchr to char16_t
Fix callers.
Change-Id: Iaf604c890941aa3de3bd31da300b2066e65968ed
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qurlrecode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurlrecode.cpp b/src/corelib/io/qurlrecode.cpp index 35ede8d078..4e1056f019 100644 --- a/src/corelib/io/qurlrecode.cpp +++ b/src/corelib/io/qurlrecode.cpp @@ -581,7 +581,7 @@ static bool simdCheckNonEncoded(...) static int decode(QString &appendTo, const ushort *begin, const ushort *end) { // fast check whether there's anything to be decoded in the first place - const ushort *input = QtPrivate::qustrchr(QStringView(begin, end), '%'); + const ushort *input = reinterpret_cast<const ushort*>(QtPrivate::qustrchr(QStringView(begin, end), '%')); if (Q_LIKELY(input == end)) return 0; // nothing to do, it was already decoded! |