diff widgets/PropertyStack.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents 7792b7667f74
children 8744bb5d9fd0
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp	Tue Mar 10 10:31:27 2015 +0000
+++ b/widgets/PropertyStack.cpp	Tue Mar 10 13:22:10 2015 +0000
@@ -172,7 +172,7 @@
     // remain in the same order. So we must find this container in the
     // box list, not in the view.
 
-    for (size_t i = 0; i < m_boxes.size(); ++i) {
+    for (int i = 0; in_range_for(m_boxes, i); ++i) {
 	PropertyContainer *container = m_boxes[i]->getContainer();
 	if (pc == container) {
             return i;