aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 388e4c2..f0a37c7 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -19,6 +19,8 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Slit.cc,v 1.11 2002/04/08 18:58:27 fluxgen Exp $
23
22//use GNU extensions 24//use GNU extensions
23#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
24#define _GNU_SOURCE 26#define _GNU_SOURCE
@@ -899,7 +901,7 @@ Slitmenu::Headmenu::Headmenu(Slitmenu *sm)
899 update(); 901 update();
900} 902}
901 903
902void Slitmenu::Headmenu::itemSelected(int button, int index) { 904void Slitmenu::Headmenu::itemSelected(int button, unsigned int index) {
903 if (button == 1) { 905 if (button == 1) {
904 BasemenuItem *item = find(index); 906 BasemenuItem *item = find(index);
905 if (! item) 907 if (! item)