Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-01-05 14:07:48 +0300
committerHannah von Reth <vonreth@kde.org>2021-01-05 19:53:47 +0300
commitd73cc9e78a7eb44e528151f943ba0676d65daa83 (patch)
tree61bf43348abb6b2f142f4b288825febdb57dc772 /src
parentd5dc41d1df15c8276cce264420e64e3fa48a055a (diff)
Fix warning by using qsizetype instead of size_t
Diffstat (limited to 'src')
-rw-r--r--src/csync/csync_exclude.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csync/csync_exclude.cpp b/src/csync/csync_exclude.cpp
index 413e08a05..820fed7fb 100644
--- a/src/csync/csync_exclude.cpp
+++ b/src/csync/csync_exclude.cpp
@@ -42,7 +42,7 @@
*/
OCSYNC_EXPORT void csync_exclude_expand_escapes(QByteArray &input)
{
- size_t o = 0;
+ qsizetype o = 0;
char *line = input.data();
auto len = input.size();
for (int i = 0; i < len; ++i) {
@@ -139,7 +139,7 @@ static CSYNC_EXCLUDE_TYPE _csync_excluded_common(const QString &path, bool exclu
bname = path.midRef(lastSlash + 1);
}
- size_t blen = bname.size();
+ qsizetype blen = bname.size();
// 9 = strlen(".sync_.db")
if (blen >= 9 && bname.at(0) == QLatin1Char('.')) {
if (bname.contains(QLatin1String(".db"))) {