aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/jsonwizard
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-04-11 18:00:34 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-04-12 13:36:49 +0000
commit87971231286f74809669c4a55045f69912e54532 (patch)
tree58fab53a18b899b1a43aeff9197bf414c224dd9a /src/plugins/projectexplorer/jsonwizard
parent5f1d035a1b62d483cf7d0659f8c4e4657faa245e (diff)
ProjectExplorer: Fix warning about signed/unsigned mismatch
Msvc says: warning: C4018: '>=': signed/unsigned mismatch Change-Id: Ib3fc4734088bd799271105ed3757d55562efcba3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/jsonwizard')
-rw-r--r--src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
index ccf3cd1b04..578023972f 100644
--- a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
+++ b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
@@ -904,7 +904,7 @@ void ListField::initializeData(MacroExpander *expander)
{
QTC_ASSERT(widget(), return);
- if (m_index >= m_itemList.size()) {
+ if (m_index >= int(m_itemList.size())) {
qWarning().noquote() << QString("%1 (\"%2\") has an index of %3 which does not exist.").arg(type(), name(), QString::number(m_index));
m_index = -1;
}