diff options
author | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
commit | 894a7148be8ac88f7f1e98917f33088ab301bf60 (patch) | |
tree | b9c3bd9fa04a64babc749a319a5610caabea9479 /src/FbTk/MultLayers.cc | |
parent | 0ca3754d683b862762695d1be891c98410f439ac (diff) | |
download | fluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.zip fluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.tar.bz2 |
size_t fixes, thanks Semushin Slava aka php-coder
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; |