From d496d26c1a577e86b5267257ea49f04cf74da4fd Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 8 Apr 2002 18:58:47 +0000 Subject: int to unsigned int --- src/Slit.cc | 4 +++- src/Slit.hh | 2 +- 2 files changed, 4 insertions(+), 2 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. +// $Id: Slit.cc,v 1.11 2002/04/08 18:58:27 fluxgen Exp $ + //use GNU extensions #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -899,7 +901,7 @@ Slitmenu::Headmenu::Headmenu(Slitmenu *sm) update(); } -void Slitmenu::Headmenu::itemSelected(int button, int index) { +void Slitmenu::Headmenu::itemSelected(int button, unsigned int index) { if (button == 1) { BasemenuItem *item = find(index); if (! item) diff --git a/src/Slit.hh b/src/Slit.hh index f4065be..356873c 100644 --- a/src/Slit.hh +++ b/src/Slit.hh @@ -80,7 +80,7 @@ private: Slitmenu *slitmenu; protected: - virtual void itemSelected(int, int); + virtual void itemSelected(int button, unsigned int index); }; #endif // XINERAMA -- cgit v0.11.2