summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2021-04-28 07:54:48 +0300
committerOrgad Shaneh <orgads@gmail.com>2021-04-28 16:50:46 +0000
commit7111630416211363b8cc56f179bfa7ba4f271817 (patch)
tree07fb690c14fcccf9c8f49d9df66eac19d05e52ac
parent1e092969ae070e3a967dd86ed06fd8531f94cd6f (diff)
downloadqbs-7111630416211363b8cc56f179bfa7ba4f271817.tar.gz
Fix compiler warning on MSVC64
C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data Change-Id: I8bc3f90bc27f7142f6095123e30b956f07b1b618 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--src/lib/corelib/language/projectresolver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/projectresolver.cpp b/src/lib/corelib/language/projectresolver.cpp
index 4ae5f3ca7..829cc955a 100644
--- a/src/lib/corelib/language/projectresolver.cpp
+++ b/src/lib/corelib/language/projectresolver.cpp
@@ -232,7 +232,7 @@ static void makeSubProjectNamesUniqe(const ResolvedProjectPtr &parentProject)
TopLevelProjectPtr ProjectResolver::resolveTopLevelProject()
{
if (m_progressObserver)
- m_progressObserver->setMaximum(m_loadResult.productInfos.size());
+ m_progressObserver->setMaximum(int(m_loadResult.productInfos.size()));
const TopLevelProjectPtr project = TopLevelProject::create();
project->buildDirectory = TopLevelProject::deriveBuildDirectory(m_setupParams.buildRoot(),
TopLevelProject::deriveId(m_setupParams.finalBuildConfigurationTree()));