diff options
author | fluxgen <fluxgen> | 2002-04-08 18:58:47 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-08 18:58:47 (GMT) |
commit | d496d26c1a577e86b5267257ea49f04cf74da4fd (patch) | |
tree | 22cded2150a3d8bdbed0c4e104df74d925765b68 /src/Slit.cc | |
parent | 1ab9ee4954637dfd5313c2b00e2be6606148d889 (diff) | |
download | fluxbox_pavel-d496d26c1a577e86b5267257ea49f04cf74da4fd.zip fluxbox_pavel-d496d26c1a577e86b5267257ea49f04cf74da4fd.tar.bz2 |
int to unsigned int
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 4 |
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 | ||
902 | void Slitmenu::Headmenu::itemSelected(int button, int index) { | 904 | void 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) |