aboutsummaryrefslogtreecommitdiff
path: root/src/Windowmenu.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-03 12:08:54 (GMT)
committerfluxgen <fluxgen>2002-04-03 12:08:54 (GMT)
commit05761f6059fb1dc12f6922b06c297b5f10780a05 (patch)
tree66f0ffb5067833b5f4c641c8e58da6ecb6035621 /src/Windowmenu.cc
parent968f9b5d8e0397bd812ce41073a317eb20fdf9df (diff)
downloadfluxbox_pavel-05761f6059fb1dc12f6922b06c297b5f10780a05.zip
fluxbox_pavel-05761f6059fb1dc12f6922b06c297b5f10780a05.tar.bz2
Fixed some signed/unsigned warnings
Diffstat (limited to 'src/Windowmenu.cc')
-rw-r--r--src/Windowmenu.cc8
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
173void Windowmenu::itemSelected(int button, int index) { 173void 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
257void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, int index) { 257void 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
274void Windowmenu::SendtoWorkspacemenu::update(void) { 274void 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
294void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, int index) { 294void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, unsigned int index) {
295 if (button > 2) 295 if (button > 2)
296 return; 296 return;
297 297