diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-02-15 23:17:19 +0100 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-02-16 17:00:12 +0000 |
commit | 619bd2a7c77517e35fa9c07b91c276870b3f1cf9 (patch) | |
tree | 6d42d430ef1b43bf0b2cdf4193e0d9f9749e9df1 /tests | |
parent | c98e9af8c71d639da1d168b9d1a03dc71a3740ce (diff) |
qt6: fix -Wformat warnings
Change-Id: Ia4107e6afdd94df06b4957317881768f4259c9d2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fuzzy-test/fuzzytester.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fuzzy-test/fuzzytester.cpp b/tests/fuzzy-test/fuzzytester.cpp index 2af8c6898..f38ad4736 100644 --- a/tests/fuzzy-test/fuzzytester.cpp +++ b/tests/fuzzy-test/fuzzytester.cpp @@ -67,7 +67,7 @@ void FuzzyTester::runTest(const QString &profile, const QString &startCommit, qDebug("Found buildable start commit %s.", qPrintable(workingStartCommit)); QStringList allCommits = findAllCommits(workingStartCommit); qDebug("The test set comprises all %d commits between the start commit and HEAD.", - allCommits.size()); + int(allCommits.size())); // Shuffle the initial sequence. Otherwise all invocations of the tool with the same start // commit would try the same sequence of commits. @@ -94,7 +94,7 @@ void FuzzyTester::runTest(const QString &profile, const QString &startCommit, m_currentCommit = currentCommit; buildSequence << currentCommit; checkoutCommit(currentCommit); - qDebug("Testing incremental build #%d (%s)", buildSequence.size() - 1, + qDebug("Testing incremental build #%d (%s)", int(buildSequence.size()) - 1, qPrintable(currentCommit)); // Doing "resolve" and "build" separately introduces additional possibilities |