aboutsummaryrefslogtreecommitdiff
path: root/src/Workspacemenu.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/Workspacemenu.cc
parent968f9b5d8e0397bd812ce41073a317eb20fdf9df (diff)
downloadfluxbox_pavel-05761f6059fb1dc12f6922b06c297b5f10780a05.zip
fluxbox_pavel-05761f6059fb1dc12f6922b06c297b5f10780a05.tar.bz2
Fixed some signed/unsigned warnings
Diffstat (limited to 'src/Workspacemenu.cc')
-rw-r--r--src/Workspacemenu.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Workspacemenu.cc b/src/Workspacemenu.cc
index 05f5072..bedb6c0 100644
--- a/src/Workspacemenu.cc
+++ b/src/Workspacemenu.cc
@@ -21,8 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// stupid macros needed to access some functions in version 2 of the GNU C 24//use GNU extension
25// library
26#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
27#define _GNU_SOURCE 26#define _GNU_SOURCE
28#endif // _GNU_SOURCE 27#endif // _GNU_SOURCE
@@ -71,7 +70,7 @@ Workspacemenu::Workspacemenu(BScreen *scrn) : Basemenu(scrn) {
71} 70}
72 71
73 72
74void Workspacemenu::itemSelected(int button, int index) { 73void Workspacemenu::itemSelected(int button, unsigned int index) {
75 if (button == 1) { 74 if (button == 1) {
76 if (index == 0) 75 if (index == 0)
77 screen->addWorkspace(); 76 screen->addWorkspace();