aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/scriptclasspropertyiterator.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-02-26 11:44:43 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-02-28 12:34:27 +0000
commit6775f07a070c2ccb2af3f4e1ae8b90965936b22f (patch)
treeb6911cd8b53196a9296db3ffe635ac5390cbe6de /src/lib/corelib/buildgraph/scriptclasspropertyiterator.h
parentfa16f0ee15b90df818ed8bbfe30fea7f7cc743b7 (diff)
Fix size_t / int conversion warning
Change-Id: Ida9c9e62eaacb9314c7a620a8b4d7ea6d76073e9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/scriptclasspropertyiterator.h')
-rw-r--r--src/lib/corelib/buildgraph/scriptclasspropertyiterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/scriptclasspropertyiterator.h b/src/lib/corelib/buildgraph/scriptclasspropertyiterator.h
index 65d3320f8..f6154f993 100644
--- a/src/lib/corelib/buildgraph/scriptclasspropertyiterator.h
+++ b/src/lib/corelib/buildgraph/scriptclasspropertyiterator.h
@@ -71,7 +71,7 @@ private:
}
bool hasPrevious() const override { return m_index > -1 || m_it.hasPrevious(); }
void toFront() override { m_it.toFront(); m_index = -1; }
- void toBack() override { m_it.toBack(); m_index = m_additionalProperties.size() - 1; }
+ void toBack() override { m_it.toBack(); m_index = int(m_additionalProperties.size()) - 1; }
void next() override
{