summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-07 14:45:42 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-10 03:16:34 +0200
commitbbec7aaf3a8cf81f28810db2270c787cc9910268 (patch)
tree1a9fc258a1f7bddd3d9ff271eb9a928694363656 /src/network
parentd49a7412f55390e461773f4ffc36a82958d59b6d (diff)
Fix a number of MSVC integer conversion warnings
Mostly related to qstrlen(). Change-Id: I69e2052c83766e4fc466ed398d0d0eac011a77ec Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qtldurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qtldurl.cpp b/src/network/kernel/qtldurl.cpp
index 8601eb711b..7dc4e9cd47 100644
--- a/src/network/kernel/qtldurl.cpp
+++ b/src/network/kernel/qtldurl.cpp
@@ -102,7 +102,7 @@ static bool containsTLDEntry(QStringView entry, TLDMatchType match)
const auto utf8 = tldData[chunk] + chunkIndex;
if ((symbol.isEmpty() || QLatin1Char(*utf8) == symbol) && entry == QString::fromUtf8(utf8 + symbol.size()))
return true;
- chunkIndex += qstrlen(utf8) + 1; // +1 for the ending \0
+ chunkIndex += uint(qstrlen(utf8)) + 1; // +1 for the ending \0
}
return false;
}