From 87971231286f74809669c4a55045f69912e54532 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 11 Apr 2018 18:00:34 +0200 Subject: [PATCH] ProjectExplorer: Fix warning about signed/unsigned mismatch Msvc says: warning: C4018: '>=': signed/unsigned mismatch Change-Id: Ib3fc4734088bd799271105ed3757d55562efcba3 Reviewed-by: Tim Jenssen --- src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp index ccf3cd1b049..578023972f2 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; }