Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 807:e4773943c9c1 warnfix_no_size_t
More unsigned/long and warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:55:27 +0100 |
parents | b6dc57688c72 |
children | 7792b7667f74 |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Tue Jun 17 15:36:56 2014 +0100 +++ b/widgets/PropertyStack.cpp Tue Jun 17 15:55:27 2014 +0100 @@ -96,7 +96,7 @@ } m_boxes.clear(); - for (size_t i = 0; i < m_client->getPropertyContainerCount(); ++i) { + for (int i = 0; i < m_client->getPropertyContainerCount(); ++i) { PropertyContainer *container = m_client->getPropertyContainer(i); QString name = container->getPropertyContainerName(); @@ -147,7 +147,7 @@ bool PropertyStack::containsContainer(PropertyContainer *pc) const { - for (size_t i = 0; i < m_client->getPropertyContainerCount(); ++i) { + for (int i = 0; i < m_client->getPropertyContainerCount(); ++i) { PropertyContainer *container = m_client->getPropertyContainer(i); if (pc == container) return true; }