diff options
author | fluxgen <fluxgen> | 2002-04-03 12:08:54 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-03 12:08:54 (GMT) |
commit | 05761f6059fb1dc12f6922b06c297b5f10780a05 (patch) | |
tree | 66f0ffb5067833b5f4c641c8e58da6ecb6035621 /src/Windowmenu.cc | |
parent | 968f9b5d8e0397bd812ce41073a317eb20fdf9df (diff) | |
download | fluxbox-05761f6059fb1dc12f6922b06c297b5f10780a05.zip fluxbox-05761f6059fb1dc12f6922b06c297b5f10780a05.tar.bz2 |
Fixed some signed/unsigned warnings
Diffstat (limited to 'src/Windowmenu.cc')
-rw-r--r-- | src/Windowmenu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc index c09b2a5..3946e92 100644 --- a/src/Windowmenu.cc +++ b/src/Windowmenu.cc | |||
@@ -170,7 +170,7 @@ void Windowmenu::show(void) { | |||
170 | } | 170 | } |
171 | 171 | ||
172 | 172 | ||
173 | void Windowmenu::itemSelected(int button, int index) { | 173 | void Windowmenu::itemSelected(int button, unsigned int index) { |
174 | BasemenuItem *item = find(index); | 174 | BasemenuItem *item = find(index); |
175 | 175 | ||
176 | switch (item->function()) { | 176 | switch (item->function()) { |
@@ -254,7 +254,7 @@ Windowmenu::SendtoWorkspacemenu::SendtoWorkspacemenu(Windowmenu *w) | |||
254 | } | 254 | } |
255 | 255 | ||
256 | 256 | ||
257 | void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, int index) { | 257 | void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, unsigned int index) { |
258 | if (button > 2) return; | 258 | if (button > 2) return; |
259 | 259 | ||
260 | if (index <= windowmenu->screen->getCount()) { | 260 | if (index <= windowmenu->screen->getCount()) { |
@@ -272,7 +272,7 @@ void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, int index) { | |||
272 | 272 | ||
273 | 273 | ||
274 | void Windowmenu::SendtoWorkspacemenu::update(void) { | 274 | void Windowmenu::SendtoWorkspacemenu::update(void) { |
275 | int i, r = getCount(); | 275 | unsigned int i, r = getCount(); |
276 | 276 | ||
277 | if (getCount() != 0) { | 277 | if (getCount() != 0) { |
278 | for (i = 0; i < r; ++i) | 278 | for (i = 0; i < r; ++i) |
@@ -291,7 +291,7 @@ void Windowmenu::SendtoWorkspacemenu::show(void) { | |||
291 | Basemenu::show(); | 291 | Basemenu::show(); |
292 | } | 292 | } |
293 | 293 | ||
294 | void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, int index) { | 294 | void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, unsigned int index) { |
295 | if (button > 2) | 295 | if (button > 2) |
296 | return; | 296 | return; |
297 | 297 | ||