diff options
Diffstat (limited to 'src/FbTk/MultLayers.cc')
-rw-r--r-- | src/FbTk/MultLayers.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MultLayers.cc b/src/FbTk/MultLayers.cc index 6a6dc18..439201a 100644 --- a/src/FbTk/MultLayers.cc +++ b/src/FbTk/MultLayers.cc | |||
@@ -180,8 +180,8 @@ void MultLayers::restack() { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | int MultLayers::size() { | 182 | int MultLayers::size() { |
183 | int i = 0, num = 0; | 183 | int num = 0; |
184 | for (; i < static_cast<signed>(m_layers.size()); i++) { | 184 | for (size_t i = 0; i < m_layers.size(); i++) { |
185 | num += m_layers[i]->countWindows(); | 185 | num += m_layers[i]->countWindows(); |
186 | } | 186 | } |
187 | return num; | 187 | return num; |